home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1994-02-11 | 1.0 MB | [STAK/WILD] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: IAMS
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| HyperCard Stack (archive/hypercard)
| idMeta
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
10%
| dexvert
| Jesper Olsen Module (music/jesperOlsen)
| magic
| Supported |
100%
| file
| TTComp archive data, binary, 1K dictionary
| default (weak)
| |
99%
| file
| MacBinary II, inited, busy, Tue Oct 15 03:57:48 1991, modified Fri Feb 11 09:47:59 1994, creator HyperCard, type HyperCard stack, 516096 bytes "IAMS" , at 0x7e080 582508 bytes resource
| default (weak)
| |
98%
| file
| data
| default
| |
49%
| TrID
| Mac HyperCard stack (MacBinary)
| default
| |
33%
| TrID
| TTComp archive compressed (bin-1K)
| default (weak)
| |
16%
| TrID
| MacBinary 2
| default (weak)
| |
0%
| TrID
| Sybase iAnywhere database files
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [STAK] |
macFileCreator | [WILD] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 04 49 41 4d 53 00 00 | 00 00 00 00 00 00 00 00 |..IAMS..|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 05 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 07 e0 00 00 | 08 e3 6c a5 20 4f fc a9 |........|..l. O..|
|00000060| 81 4b 1f 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.K......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 bc 66 00 00 |........|.....f..|
|00000080| 00 00 76 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..v.STAK|........|
|00000090| 00 00 00 0a 00 07 e0 00 | 00 00 76 00 00 00 00 02 |........|..v.....|
|000000a0| 00 00 00 02 00 00 00 0a | 00 00 0a f5 00 00 01 10 |........|........|
|000000b0| 00 00 27 8b 00 00 34 01 | 00 00 00 13 00 01 8b c0 |..'...4.|........|
|000000c0| 00 00 26 48 00 00 00 00 | 00 05 00 00 50 00 00 00 |..&H....|....P...|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 10 80 00 02 10 80 00 | 02 10 80 00 02 10 80 00 |........|........|
|000000f0| 9d 11 10 51 00 00 00 01 | 00 00 00 00 01 e0 02 80 |...Q....|........|
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d b0 00 00 0c 8a | 01 e0 02 80 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 c5 e0 00 00 21 20 | 00 02 13 c0 00 00 00 40 |......! |.......@|
|00000490| 00 02 67 20 00 00 01 20 | 00 02 6b 40 00 00 00 c0 |..g ... |..k@....|
|000004a0| 00 02 71 40 00 00 00 40 | 00 02 97 c0 00 00 00 20 |..q@...@|....... |
|000004b0| 00 03 27 20 00 00 00 40 | 00 03 6c 80 00 00 00 20 |..' ...@|..l.... |
|000004c0| 00 03 9d 60 00 00 00 20 | 00 03 fc 00 00 00 08 40 |...`... |.......@|
|000004d0| 00 04 07 60 00 00 00 20 | 00 04 7e 00 00 00 00 60 |...`... |..~....`|
|000004e0| 00 04 9f 20 00 00 00 40 | 00 04 ba e0 00 00 a5 00 |... ...@|........|
|000004f0| 00 05 7f 40 00 00 00 40 | 00 05 a7 40 00 00 2d 40 |...@...@|...@..-@|
|00000500| 00 05 e5 e0 00 00 2d c0 | 00 06 3d 40 00 00 2d e0 |......-.|..=@..-.|
|00000510| 00 07 af 60 00 00 30 80 | 00 00 00 00 00 00 00 00 |...`..0.|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000690| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0d 2d |--------|------.-|
|000006b0| 2d 2d 2d 20 20 44 65 73 | 6b 74 6f 70 20 53 65 6d |--- Des|ktop Sem|
|000006c0| 69 6e 61 72 20 53 68 65 | 6c 6c 20 73 74 61 63 6b |inar She|ll stack|
|000006d0| 20 20 20 20 20 20 20 20 | 20 2d 2d 2d 2d 0d 2d 2d | | ----.--|
|000006e0| 2d 2d 20 20 66 72 6f 6d | 20 74 68 65 20 d2 44 65 |-- from| the .De|
|000006f0| 73 6b 74 6f 70 20 53 65 | 6d 69 6e 61 72 20 54 6f |sktop Se|minar To|
|00000700| 6f 6c 6b 69 74 d3 20 20 | 2d 2d 2d 2d 0d 2d 2d 2d |olkit. |----.---|
|00000710| 2d 20 20 62 79 20 4d 61 | 72 63 20 57 61 64 65 20 |- by Ma|rc Wade |
|00000720| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000730| 20 20 20 20 20 20 20 2d | 2d 2d 2d 0d 2d 2d 2d 2d | -|---.----|
|00000740| 20 20 20 20 20 41 70 70 | 6c 65 20 54 72 61 69 6e | App|le Train|
|00000750| 69 6e 67 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ing | |
|00000760| 20 20 20 20 20 20 2d 2d | 2d 2d 0d 2d 2d 2d 2d 20 | --|--.---- |
|00000770| 20 20 20 20 4d 6f 76 69 | 65 20 58 43 4d 44 20 62 | Movi|e XCMD b|
|00000780| 79 20 43 6c 61 72 69 73 | 20 20 20 20 20 20 20 20 |y Claris| |
|00000790| 20 20 20 20 20 2d 2d 2d | 2d 0d 2d 2d 2d 2d 20 20 | ---|-.---- |
|000007a0| 20 20 20 51 54 50 69 63 | 74 20 58 43 4d 44 20 62 | QTPic|t XCMD b|
|000007b0| 79 20 4b 65 6e 20 44 6f | 79 6c 65 20 20 20 20 20 |y Ken Do|yle |
|000007c0| 20 20 20 20 2d 2d 2d 2d | 0d 2d 2d 2d 2d 20 20 20 | ----|.---- |
|000007d0| 20 20 63 6f 6c 6f 72 69 | 7a 65 48 43 20 58 43 4d | colori|zeHC XCM|
|000007e0| 44 20 62 79 20 42 75 6e | 67 64 61 62 62 61 20 20 |D by Bun|gdabba |
|000007f0| 20 20 20 2d 2d 2d 2d 0d | 2d 2d 2d 2d 20 20 20 20 | ----.|---- |
|00000800| 20 4c 69 73 74 6f 69 64 | 2c 20 47 65 74 44 69 72 | Listoid|, GetDir|
|00000810| 2c 20 49 73 46 6f 6c 64 | 65 72 2c 20 20 20 20 20 |, IsFold|er, |
|00000820| 20 20 2d 2d 2d 2d 0d 2d | 2d 2d 2d 20 20 20 20 20 | ----.-|--- |
|00000830| 46 75 6c 6c 44 72 61 67 | 20 61 6e 64 20 46 75 6c |FullDrag| and Ful|
|00000840| 6c 48 50 6f 70 20 20 20 | 20 20 20 20 20 20 20 20 |lHPop | |
|00000850| 20 2d 2d 2d 2d 0d 2d 2d | 2d 2d 20 20 20 20 20 62 | ----.--|-- b|
|00000860| 79 20 46 72 8e 64 8e 72 | 69 63 20 52 69 6e 61 6c |y Fr.d.r|ic Rinal|
|00000870| 64 69 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |di | |
|00000880| 2d 2d 2d 2d 0d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |----.---|--------|
|00000890| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000008a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000008b0| 2d 2d 2d 0d 6f 6e 20 6b | 65 79 44 6f 77 6e 20 77 |---.on k|eyDown w|
|000008c0| 68 61 74 0d 69 66 20 74 | 68 65 20 76 69 73 69 62 |hat.if t|he visib|
|000008d0| 6c 65 20 6f 66 20 6d 73 | 67 20 74 68 65 6e 0d 69 |le of ms|g then.i|
|000008e0| 66 20 6e 6f 74 28 77 68 | 69 63 68 20 3d 20 6e 75 |f not(wh|ich = nu|
|000008f0| 6d 74 6f 63 68 61 72 28 | 32 37 29 29 20 74 68 65 |mtochar(|27)) the|
|00000900| 6e 0d 2d 2d 20 64 6f 6e | 27 74 20 70 61 73 73 20 |n.-- don|'t pass |
|00000910| 22 65 73 63 61 70 65 22 | 0d 70 61 73 73 20 6b 65 |"escape"|.pass ke|
|00000920| 79 44 6f 77 6e 0d 65 6e | 64 20 69 66 0d 65 6c 73 |yDown.en|d if.els|
|00000930| 65 0d 69 66 20 77 68 61 | 74 20 3d 20 22 20 22 20 |e.if wha|t = " " |
|00000940| 74 68 65 6e 0d 69 66 20 | 74 65 73 74 43 6f 6e 74 |then.if |testCont|
|00000950| 72 6f 6c 50 61 6e 65 6c | 28 29 20 74 68 65 6e 0d |rolPanel|() then.|
|00000960| 67 6c 6f 62 61 6c 20 63 | 75 72 72 65 6e 74 41 75 |global c|urrentAu|
|00000970| 64 69 6f 53 74 61 74 65 | 0d 69 66 20 63 75 72 72 |dioState|.if curr|
|00000980| 65 6e 74 41 75 64 69 6f | 53 74 61 74 65 20 3d 20 |entAudio|State = |
|00000990| 22 70 6c 61 79 22 20 74 | 68 65 6e 0d 73 65 6e 64 |"play" t|hen.send|
|000009a0| 20 22 73 74 6f 70 43 6f | 6e 74 72 6f 6c 50 61 6e | "stopCo|ntrolPan|
|000009b0| 65 6c 22 20 74 6f 20 74 | 68 69 73 20 62 67 0d 65 |el" to t|his bg.e|
|000009c0| 6c 73 65 0d 73 65 6e 64 | 20 22 70 6c 61 79 43 6f |lse.send| "playCo|
|000009d0| 6e 74 72 6f 6c 50 61 6e | 65 6c 22 20 74 6f 20 74 |ntrolPan|el" to t|
|000009e0| 68 69 73 20 62 67 0d 65 | 6e 64 20 69 66 0d 65 6c |his bg.e|nd if.el|
|000009f0| 73 65 0d 70 61 73 73 20 | 6b 65 79 44 6f 77 6e 0d |se.pass |keyDown.|
|00000a00| 65 6e 64 20 69 66 0d 65 | 6c 73 65 0d 69 66 20 6e |end if.e|lse.if n|
|00000a10| 6f 74 28 77 68 69 63 68 | 20 3d 20 6e 75 6d 74 6f |ot(which| = numto|
|00000a20| 63 68 61 72 28 32 37 29 | 29 20 74 68 65 6e 0d 2d |char(27)|) then.-|
|00000a30| 2d 20 64 6f 6e 27 74 20 | 70 61 73 73 20 22 65 73 |- don't |pass "es|
|00000a40| 63 61 70 65 22 0d 70 61 | 73 73 20 6b 65 79 44 6f |cape".pa|ss keyDo|
|00000a50| 77 6e 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 |wn.end i|f.end if|
|00000a60| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 6b 65 79 44 |.end if.|end keyD|
|00000a70| 6f 77 6e 0d 0d 6f 6e 20 | 61 72 72 6f 77 4b 65 79 |own..on |arrowKey|
|00000a80| 20 77 68 69 63 68 0d 2d | 2d 20 64 6f 6e 27 74 20 | which.-|- don't |
|00000a90| 61 6c 6c 6f 77 20 61 72 | 72 6f 77 20 6b 65 79 73 |allow ar|row keys|
|00000aa0| 20 74 6f 20 6e 61 76 69 | 67 61 74 65 20 73 74 61 | to navi|gate sta|
|00000ab0| 63 6b 0d 2d 2d 20 66 77 | 64 2f 62 61 63 6b 20 61 |ck.-- fw|d/back a|
|00000ac0| 72 72 6f 77 20 3d 20 73 | 74 65 70 0d 2d 2d 20 73 |rrow = s|tep.-- s|
|00000ad0| 68 69 66 74 20 66 77 64 | 2f 62 61 63 6b 20 3d 20 |hift fwd|/back = |
|00000ae0| 7a 69 70 0d 2d 2d 20 75 | 70 20 3d 20 73 68 6f 77 |zip.-- u|p = show|
|00000af0| 20 6d 65 6e 75 0d 69 66 | 20 74 65 73 74 43 6f 6e | menu.if| testCon|
|00000b00| 74 72 6f 6c 50 61 6e 65 | 6c 28 29 20 74 68 65 6e |trolPane|l() then|
|00000b10| 0d 69 66 20 74 68 65 20 | 73 68 69 66 74 4b 65 79 |.if the |shiftKey|
|00000b20| 20 69 73 20 64 6f 77 6e | 20 74 68 65 6e 0d 70 75 | is down| then.pu|
|00000b30| 74 20 22 7a 69 70 22 20 | 69 6e 74 6f 20 62 74 6e |t "zip" |into btn|
|00000b40| 4e 61 6d 65 0d 65 6c 73 | 65 0d 70 75 74 20 22 73 |Name.els|e.put "s|
|00000b50| 74 65 70 22 20 69 6e 74 | 6f 20 62 74 6e 4e 61 6d |tep" int|o btnNam|
|00000b60| 65 0d 65 6e 64 20 69 66 | 0d 69 66 20 77 68 69 63 |e.end if|.if whic|
|00000b70| 68 20 3d 20 22 72 69 67 | 68 74 22 20 74 68 65 6e |h = "rig|ht" then|
|00000b80| 0d 70 75 74 20 22 46 77 | 64 22 20 61 66 74 65 72 |.put "Fw|d" after|
|00000b90| 20 62 74 6e 4e 61 6d 65 | 0d 65 6c 73 65 20 69 66 | btnName|.else if|
|00000ba0| 20 77 68 69 63 68 20 3d | 20 22 6c 65 66 74 22 20 | which =| "left" |
|00000bb0| 74 68 65 6e 0d 70 75 74 | 20 22 42 61 63 6b 22 20 |then.put| "Back" |
|00000bc0| 61 66 74 65 72 20 62 74 | 6e 4e 61 6d 65 0d 65 6c |after bt|nName.el|
|00000bd0| 73 65 20 69 66 20 77 68 | 69 63 68 20 3d 20 22 75 |se if wh|ich = "u|
|00000be0| 70 22 20 74 68 65 6e 0d | 70 75 74 20 22 73 68 6f |p" then.|put "sho|
|00000bf0| 77 4d 65 6e 75 22 20 69 | 6e 74 6f 20 62 74 6e 4e |wMenu" i|nto btnN|
|00000c00| 61 6d 65 0d 65 6c 73 65 | 0d 70 75 74 20 65 6d 70 |ame.else|.put emp|
|00000c10| 74 79 20 69 6e 74 6f 20 | 62 74 6e 4e 61 6d 65 0d |ty into |btnName.|
|00000c20| 65 6e 64 20 69 66 0d 69 | 66 20 62 74 6e 4e 61 6d |end if.i|f btnNam|
|00000c30| 65 20 3d 20 22 73 68 6f | 77 4d 65 6e 75 22 20 74 |e = "sho|wMenu" t|
|00000c40| 68 65 6e 0d 73 69 6d 53 | 68 6f 77 4d 65 6e 75 0d |hen.simS|howMenu.|
|00000c50| 65 6c 73 65 20 69 66 20 | 62 74 6e 4e 61 6d 65 20 |else if |btnName |
|00000c60| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 20 74 68 65 |is not e|mpty the|
|00000c70| 6e 0d 64 6f 53 69 6d 50 | 61 6e 65 6c 20 62 74 6e |n.doSimP|anel btn|
|00000c80| 4e 61 6d 65 0d 65 6e 64 | 20 69 66 0d 65 6c 73 65 |Name.end| if.else|
|00000c90| 20 69 66 20 74 68 65 20 | 73 68 6f 72 74 20 6e 61 | if the |short na|
|00000ca0| 6d 65 20 6f 66 20 74 68 | 69 73 20 62 67 20 69 73 |me of th|is bg is|
|00000cb0| 20 22 65 78 65 72 63 69 | 73 65 22 20 6f 72 20 c2 | "exerci|se" or .|
|00000cc0| 0d 74 68 65 20 73 68 6f | 72 74 20 6e 61 6d 65 20 |.the sho|rt name |
|00000cd0| 6f 66 20 74 68 69 73 20 | 62 67 20 69 73 20 22 68 |of this |bg is "h|
|00000ce0| 65 6c 70 22 20 74 68 65 | 6e 0d 69 66 20 77 68 69 |elp" the|n.if whi|
|00000cf0| 63 68 20 3d 20 22 75 70 | 22 20 74 68 65 6e 0d 73 |ch = "up|" then.s|
|00000d00| 69 6d 53 68 6f 77 4d 65 | 6e 75 0d 65 6e 64 20 69 |imShowMe|nu.end i|
|00000d10| 66 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 61 72 72 |f.end if|.end arr|
|00000d20| 6f 77 4b 65 79 0d 0d 66 | 75 6e 63 74 69 6f 6e 20 |owKey..f|unction |
|00000d30| 74 65 73 74 43 6f 6e 74 | 72 6f 6c 50 61 6e 65 6c |testCont|rolPanel|
|00000d40| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 62 |.if ther|e is a b|
|00000d50| 67 20 62 74 6e 20 22 63 | 6f 6e 74 72 6f 6c 50 61 |g btn "c|ontrolPa|
|00000d60| 6e 65 6c 22 20 74 68 65 | 6e 0d 72 65 74 75 72 6e |nel" the|n.return|
|00000d70| 20 6e 6f 74 20 28 74 68 | 65 20 76 69 73 69 62 6c | not (th|e visibl|
|00000d80| 65 20 6f 66 20 62 67 20 | 62 74 6e 20 22 63 6f 6e |e of bg |btn "con|
|00000d90| 74 72 6f 6c 50 61 6e 65 | 6c 22 29 0d 65 6c 73 65 |trolPane|l").else|
|00000da0| 0d 72 65 74 75 72 6e 20 | 66 61 6c 73 65 0d 65 6e |.return |false.en|
|00000db0| 64 20 69 66 0d 65 6e 64 | 20 74 65 73 74 43 6f 6e |d if.end| testCon|
|00000dc0| 74 72 6f 6c 50 61 6e 65 | 6c 0d 0d 6f 6e 20 64 6f |trolPane|l..on do|
|00000dd0| 53 69 6d 50 61 6e 65 6c | 20 62 74 6e 4e 61 6d 65 |SimPanel| btnName|
|00000de0| 0d 2d 2d 20 73 69 6d 75 | 6c 61 74 65 20 63 6c 69 |.-- simu|late cli|
|00000df0| 63 6b 69 6e 67 20 61 20 | 70 61 6e 65 6c 20 62 75 |cking a |panel bu|
|00000e00| 74 74 6f 6e 0d 73 69 6d | 48 69 6c 69 74 65 20 62 |tton.sim|Hilite b|
|00000e10| 74 6e 4e 61 6d 65 2c 28 | 62 74 6e 4e 61 6d 65 26 |tnName,(|btnName&|
|00000e20| 22 44 6f 77 6e 22 29 0d | 72 65 6d 65 6d 62 65 72 |"Down").|remember|
|00000e30| 41 75 64 69 6f 53 74 61 | 74 65 0d 73 74 6f 70 43 |AudioSta|te.stopC|
|00000e40| 6f 6e 74 72 6f 6c 50 61 | 6e 65 6c 0d 73 69 6d 48 |ontrolPa|nel.simH|
|00000e50| 69 6c 69 74 65 20 62 74 | 6e 4e 61 6d 65 2c 28 62 |ilite bt|nName,(b|
|00000e60| 74 6e 4e 61 6d 65 26 22 | 4f 6e 22 29 0d 73 65 6e |tnName&"|On").sen|
|00000e70| 64 20 62 74 6e 4e 61 6d | 65 20 74 6f 20 74 68 69 |d btnNam|e to thi|
|00000e80| 73 20 63 61 72 64 20 20 | 2d 2d 20 6e 61 6d 65 20 |s card |-- name |
|00000e90| 69 73 20 73 61 6d 65 20 | 61 73 20 66 75 6e 63 74 |is same |as funct|
|00000ea0| 69 6f 6e 0d 73 69 6d 48 | 69 6c 69 74 65 20 62 74 |ion.simH|ilite bt|
|00000eb0| 6e 4e 61 6d 65 2c 28 62 | 74 6e 4e 61 6d 65 26 22 |nName,(b|tnName&"|
|00000ec0| 55 70 22 29 0d 65 6e 64 | 20 64 6f 53 69 6d 50 61 |Up").end| doSimPa|
|00000ed0| 6e 65 6c 0d 0d 6f 6e 20 | 73 69 6d 53 68 6f 77 4d |nel..on |simShowM|
|00000ee0| 65 6e 75 20 62 74 6e 4e | 61 6d 65 0d 2d 2d 20 73 |enu btnN|ame.-- s|
|00000ef0| 69 6d 75 6c 61 74 65 20 | 63 6c 69 63 6b 69 6e 67 |imulate |clicking|
|00000f00| 20 74 68 65 20 6d 65 6e | 75 20 62 75 74 74 6f 6e | the men|u button|
|00000f10| 0d 73 69 6d 48 69 6c 69 | 74 65 20 22 6d 65 6e 75 |.simHili|te "menu|
|00000f20| 22 2c 22 6d 65 6e 75 44 | 6f 77 6e 22 0d 73 65 6e |","menuD|own".sen|
|00000f30| 64 20 22 73 68 6f 77 4d | 79 48 69 6c 69 74 65 20 |d "showM|yHilite |
|00000f40| 6d 65 6e 75 4f 6e 22 20 | 74 6f 20 62 67 20 62 74 |menuOn" |to bg bt|
|00000f50| 6e 20 22 6d 65 6e 75 22 | 0d 73 68 6f 77 4d 65 6e |n "menu"|.showMen|
|00000f60| 75 0d 73 65 6e 64 20 22 | 73 68 6f 77 4d 79 48 69 |u.send "|showMyHi|
|00000f70| 6c 69 74 65 20 6d 65 6e | 75 4f 6e 22 20 74 6f 20 |lite men|uOn" to |
|00000f80| 62 67 20 62 74 6e 20 22 | 6d 65 6e 75 22 0d 73 65 |bg btn "|menu".se|
|00000f90| 74 42 75 74 74 6f 6e 53 | 74 61 74 75 73 20 32 2c |tButtonS|tatus 2,|
|00000fa0| 74 72 75 65 0d 65 6e 64 | 20 73 69 6d 53 68 6f 77 |true.end| simShow|
|00000fb0| 4d 65 6e 75 0d 0d 6f 6e | 20 73 69 6d 48 69 6c 69 |Menu..on| simHili|
|00000fc0| 74 65 20 62 74 6e 4e 61 | 6d 65 2c 70 69 63 74 4e |te btnNa|me,pictN|
|00000fd0| 61 6d 65 0d 70 75 74 20 | 74 68 65 20 74 6f 70 4c |ame.put |the topL|
|00000fe0| 65 66 74 20 6f 66 20 62 | 67 20 62 74 6e 20 62 74 |eft of b|g btn bt|
|00000ff0| 6e 4e 61 6d 65 20 69 6e | 74 6f 20 70 69 63 74 54 |nName in|to pictT|
|00001000| 6f 70 4c 65 66 74 0d 51 | 54 50 69 63 74 20 22 64 |opLeft.Q|TPict "d|
|00001010| 69 73 70 6c 61 79 50 69 | 63 74 22 2c 70 69 63 74 |isplayPi|ct",pict|
|00001020| 4e 61 6d 65 2c 70 69 63 | 74 54 6f 70 4c 65 66 74 |Name,pic|tTopLeft|
|00001030| 2c 22 72 65 73 6f 75 72 | 63 65 22 0d 65 6e 64 20 |,"resour|ce".end |
|00001040| 73 69 6d 48 69 6c 69 74 | 65 0d 0d 6f 6e 20 64 6f |simHilit|e..on do|
|00001050| 4d 65 6e 75 20 77 68 61 | 74 0d 69 66 20 77 68 61 |Menu wha|t.if wha|
|00001060| 74 20 3d 20 22 51 75 69 | 74 20 48 79 70 65 72 43 |t = "Qui|t HyperC|
|00001070| 61 72 64 22 20 74 68 65 | 6e 0d 64 6f 51 75 69 74 |ard" the|n.doQuit|
|00001080| 0d 2d 2d 2a 2a 20 65 6c | 73 65 20 69 66 20 77 68 |.--** el|se if wh|
|00001090| 61 74 20 3d 20 22 6d 65 | 73 73 61 67 65 22 20 74 |at = "me|ssage" t|
|000010a0| 68 65 6e 20 20 2d 2d 20 | 66 6f 72 20 72 65 6c 65 |hen -- |for rele|
|000010b0| 61 73 65 20 76 65 72 73 | 69 6f 6e 20 6f 6e 6c 79 |ase vers|ion only|
|000010c0| 0d 2d 2d 2a 2a 20 69 66 | 20 74 68 65 20 6f 70 74 |.--** if| the opt|
|000010d0| 69 6f 6e 4b 65 79 20 69 | 73 20 64 6f 77 6e 20 74 |ionKey i|s down t|
|000010e0| 68 65 6e 0d 2d 2d 2a 2a | 20 70 61 73 73 20 64 6f |hen.--**| pass do|
|000010f0| 4d 65 6e 75 0d 2d 2d 2a | 2a 20 65 6c 73 65 0d 2d |Menu.--*|* else.-|
|00001100| 2d 2a 2a 20 2d 2d 20 64 | 6f 6e 27 74 20 70 61 73 |-** -- d|on't pas|
|00001110| 73 20 74 68 69 73 0d 2d | 2d 2a 2a 20 65 6e 64 20 |s this.-|-** end |
|00001120| 69 66 0d 65 6c 73 65 0d | 70 61 73 73 20 64 6f 4d |if.else.|pass doM|
|00001130| 65 6e 75 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 64 |enu.end |if.end d|
|00001140| 6f 4d 65 6e 75 0d 0d 6f | 6e 20 73 68 6f 77 4d 65 |oMenu..o|n showMe|
|00001150| 6e 75 0d 73 65 6e 64 20 | 22 73 68 6f 77 4d 65 6e |nu.send |"showMen|
|00001160| 75 22 20 74 6f 20 63 64 | 20 22 6d 65 6e 75 22 0d |u" to cd| "menu".|
|00001170| 65 6e 64 20 73 68 6f 77 | 4d 65 6e 75 0d 6f 6e 20 |end show|Menu.on |
|00001180| 73 68 6f 77 53 75 62 4d | 65 6e 75 20 77 68 69 63 |showSubM|enu whic|
|00001190| 68 0d 73 65 6e 64 20 22 | 73 68 6f 77 53 75 62 4d |h.send "|showSubM|
|000011a0| 65 6e 75 20 77 68 69 63 | 68 22 20 74 6f 20 63 64 |enu whic|h" to cd|
|000011b0| 20 22 6d 65 6e 75 22 0d | 65 6e 64 20 73 68 6f 77 | "menu".|end show|
|000011c0| 53 75 62 4d 65 6e 75 0d | 6f 6e 20 73 68 6f 77 45 |SubMenu.|on showE|
|000011d0| 78 65 72 63 69 73 65 4d | 65 6e 75 0d 73 65 6e 64 |xerciseM|enu.send|
|000011e0| 20 22 73 68 6f 77 45 78 | 65 72 63 69 73 65 4d 65 | "showEx|erciseMe|
|000011f0| 6e 75 22 20 74 6f 20 63 | 64 20 22 6d 65 6e 75 22 |nu" to c|d "menu"|
|00001200| 0d 65 6e 64 20 73 68 6f | 77 45 78 65 72 63 69 73 |.end sho|wExercis|
|00001210| 65 4d 65 6e 75 0d 6f 6e | 20 67 6f 54 6f 70 69 63 |eMenu.on| goTopic|
|00001220| 20 77 68 61 74 2c 77 68 | 69 63 68 4c 69 6e 65 0d | what,wh|ichLine.|
|00001230| 73 65 6e 64 20 22 67 6f | 54 6f 70 69 63 20 77 68 |send "go|Topic wh|
|00001240| 61 74 2c 77 68 69 63 68 | 4c 69 6e 65 22 20 74 6f |at,which|Line" to|
|00001250| 20 63 64 20 22 6d 65 6e | 75 22 0d 65 6e 64 20 67 | cd "men|u".end g|
|00001260| 6f 54 6f 70 69 63 0d 6f | 6e 20 67 6f 53 75 62 54 |oTopic.o|n goSubT|
|00001270| 6f 70 69 63 20 77 68 69 | 63 68 0d 73 65 6e 64 20 |opic whi|ch.send |
|00001280| 22 67 6f 53 75 62 54 6f | 70 69 63 20 77 68 69 63 |"goSubTo|pic whic|
|00001290| 68 22 20 74 6f 20 63 64 | 20 22 6d 65 6e 75 22 0d |h" to cd| "menu".|
|000012a0| 65 6e 64 20 67 6f 53 75 | 62 54 6f 70 69 63 0d 6f |end goSu|bTopic.o|
|000012b0| 6e 20 68 69 64 65 4d 65 | 6e 75 0d 63 6c 6f 73 65 |n hideMe|nu.close|
|000012c0| 57 69 6e 64 6f 77 20 22 | 74 6f 70 69 63 4d 65 6e |Window "|topicMen|
|000012d0| 75 22 0d 65 6e 64 20 68 | 69 64 65 4d 65 6e 75 0d |u".end h|ideMenu.|
|000012e0| 6f 6e 20 74 6f 70 69 63 | 4d 65 6e 75 43 6c 6f 73 |on topic|MenuClos|
|000012f0| 65 0d 73 65 6e 64 20 22 | 74 6f 70 69 63 4d 65 6e |e.send "|topicMen|
|00001300| 75 48 69 64 64 65 6e 22 | 20 74 6f 20 63 64 20 22 |uHidden"| to cd "|
|00001310| 6d 65 6e 75 22 0d 65 6e | 64 20 74 6f 70 69 63 4d |menu".en|d topicM|
|00001320| 65 6e 75 43 6c 6f 73 65 | 0d 6f 6e 20 67 6f 45 78 |enuClose|.on goEx|
|00001330| 65 72 63 69 73 65 20 77 | 68 61 74 0d 73 65 6e 64 |ercise w|hat.send|
|00001340| 20 22 67 6f 45 78 65 72 | 63 69 73 65 20 77 68 61 | "goExer|cise wha|
|00001350| 74 22 20 74 6f 20 63 64 | 20 22 6d 65 6e 75 22 0d |t" to cd| "menu".|
|00001360| 65 6e 64 20 67 6f 45 78 | 65 72 63 69 73 65 0d 6f |end goEx|ercise.o|
|00001370| 6e 20 64 6f 41 62 6f 75 | 74 0d 73 65 6e 64 20 22 |n doAbou|t.send "|
|00001380| 64 6f 41 62 6f 75 74 22 | 20 74 6f 20 63 64 20 31 |doAbout"| to cd 1|
|00001390| 0d 65 6e 64 20 64 6f 41 | 62 6f 75 74 0d 0d 6f 6e |.end doA|bout..on|
|000013a0| 20 66 69 72 73 74 41 63 | 74 69 6f 6e 0d 65 6e 64 | firstAc|tion.end|
|000013b0| 20 66 69 72 73 74 41 63 | 74 69 6f 6e 0d 0d 6f 6e | firstAc|tion..on|
|000013c0| 20 64 6f 51 75 69 74 0d | 69 66 20 74 68 65 20 73 | doQuit.|if the s|
|000013d0| 74 61 63 6b 73 49 6e 55 | 73 65 20 63 6f 6e 74 61 |tacksInU|se conta|
|000013e0| 69 6e 73 20 22 72 65 73 | 6f 75 72 63 65 73 22 20 |ins "res|ources" |
|000013f0| 74 68 65 6e 0d 73 65 6e | 64 20 22 73 74 6f 70 43 |then.sen|d "stopC|
|00001400| 6f 6e 74 72 6f 6c 50 61 | 6e 65 6c 22 20 74 6f 20 |ontrolPa|nel" to |
|00001410| 74 68 69 73 20 62 67 0d | 69 66 20 74 68 65 72 65 |this bg.|if there|
|00001420| 20 69 73 20 61 20 62 67 | 20 62 74 6e 20 22 71 75 | is a bg| btn "qu|
|00001430| 69 74 22 20 74 68 65 6e | 20 73 68 6f 77 48 69 6c |it" then| showHil|
|00001440| 69 74 65 20 22 71 75 69 | 74 22 2c 22 71 75 69 74 |ite "qui|t","quit|
|00001450| 4f 6e 22 2c 22 62 67 22 | 0d 70 75 74 20 64 6f 43 |On","bg"|.put doC|
|00001460| 61 72 64 4f 66 66 73 65 | 74 28 22 32 32 39 2c 32 |ardOffse|t("229,2|
|00001470| 30 38 22 29 20 69 6e 74 | 6f 20 77 69 6e 64 6f 77 |08") int|o window|
|00001480| 50 6f 73 20 20 2d 2d 20 | 63 65 6e 74 65 72 20 6f |Pos -- |center o|
|00001490| 66 20 61 6c 6c 20 63 61 | 72 64 73 0d 67 65 74 20 |f all ca|rds.get |
|000014a0| 77 69 6e 64 6f 77 53 63 | 72 69 70 74 28 22 71 75 |windowSc|ript("qu|
|000014b0| 69 74 44 69 61 6c 6f 67 | 22 2c 77 69 6e 64 6f 77 |itDialog|",window|
|000014c0| 50 6f 73 29 0d 69 66 20 | 6c 69 6e 65 20 32 20 6f |Pos).if |line 2 o|
|000014d0| 66 20 69 74 20 69 73 20 | 22 59 65 73 22 20 74 68 |f it is |"Yes" th|
|000014e0| 65 6e 0d 69 66 20 74 68 | 65 20 6f 70 74 69 6f 6e |en.if th|e option|
|000014f0| 4b 65 79 20 69 73 20 64 | 6f 77 6e 20 74 68 65 6e |Key is d|own then|
|00001500| 0d 72 65 61 6c 6c 79 51 | 75 69 74 0d 65 6c 73 65 |.reallyQ|uit.else|
|00001510| 0d 63 6c 6f 73 65 57 69 | 6e 64 6f 77 20 22 74 6f |.closeWi|ndow "to|
|00001520| 70 69 63 4d 65 6e 75 22 | 0d 69 64 6c 65 0d 6c 6f |picMenu"|.idle.lo|
|00001530| 63 6b 20 73 63 72 65 65 | 6e 0d 67 6f 20 63 64 20 |ck scree|n.go cd |
|00001540| 22 65 6e 64 43 61 72 64 | 22 0d 75 6e 6c 6f 63 6b |"endCard|".unlock|
|00001550| 20 73 63 72 65 65 6e 0d | 73 65 6e 64 20 22 6f 70 | screen.|send "op|
|00001560| 65 6e 61 63 74 69 6f 6e | 22 20 74 6f 20 74 68 69 |enaction|" to thi|
|00001570| 73 20 63 61 72 64 0d 65 | 6e 64 20 69 66 0d 65 6c |s card.e|nd if.el|
|00001580| 73 65 0d 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |se.if th|ere is a|
|00001590| 20 62 67 20 62 74 6e 20 | 22 71 75 69 74 22 20 74 | bg btn |"quit" t|
|000015a0| 68 65 6e 20 73 68 6f 77 | 48 69 6c 69 74 65 20 22 |hen show|Hilite "|
|000015b0| 71 75 69 74 22 2c 22 71 | 75 69 74 55 70 22 2c 22 |quit","q|uitUp","|
|000015c0| 62 67 22 0d 73 65 74 42 | 75 74 74 6f 6e 53 74 61 |bg".setB|uttonSta|
|000015d0| 74 75 73 20 31 2c 66 61 | 6c 73 65 0d 65 6e 64 20 |tus 1,fa|lse.end |
|000015e0| 69 66 0d 65 6c 73 65 0d | 72 65 61 6c 6c 79 51 75 |if.else.|reallyQu|
|000015f0| 69 74 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 64 6f |it.end i|f.end do|
|00001600| 51 75 69 74 0d 0d 6f 6e | 20 72 65 61 6c 6c 79 51 |Quit..on| reallyQ|
|00001610| 75 69 74 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |uit.if t|here is |
|00001620| 61 20 6d 65 6e 75 20 22 | 46 69 6c 65 22 20 74 68 |a menu "|File" th|
|00001630| 65 6e 0d 73 65 74 20 74 | 68 65 20 6d 65 6e 75 4d |en.set t|he menuM|
|00001640| 65 73 73 61 67 65 20 6f | 66 20 6c 61 73 74 20 6d |essage o|f last m|
|00001650| 65 6e 75 49 74 65 6d 20 | 6f 66 20 6d 65 6e 75 20 |enuItem |of menu |
|00001660| 22 46 69 6c 65 22 20 74 | 6f 20 65 6d 70 74 79 0d |"File" t|o empty.|
|00001670| 65 6e 64 20 69 66 0d 73 | 65 6e 64 20 22 64 6f 4d |end if.s|end "doM|
|00001680| 65 6e 75 20 71 75 69 74 | 20 48 79 70 65 72 43 61 |enu quit| HyperCa|
|00001690| 72 64 22 20 74 6f 20 48 | 79 70 65 72 43 61 72 64 |rd" to H|yperCard|
|000016a0| 0d 65 6e 64 20 72 65 61 | 6c 6c 79 51 75 69 74 0d |.end rea|llyQuit.|
|000016b0| 0d 66 75 6e 63 74 69 6f | 6e 20 64 6f 43 61 72 64 |.functio|n doCard|
|000016c0| 4f 66 66 73 65 74 20 77 | 68 61 74 52 65 63 74 0d |Offset w|hatRect.|
|000016d0| 70 75 74 20 74 68 65 20 | 74 6f 70 4c 65 66 74 20 |put the |topLeft |
|000016e0| 6f 66 20 63 64 20 77 69 | 6e 64 6f 77 20 69 6e 74 |of cd wi|ndow int|
|000016f0| 6f 20 6f 66 66 73 65 74 | 50 6f 73 0d 61 64 64 20 |o offset|Pos.add |
|00001700| 69 74 65 6d 20 31 20 6f | 66 20 6f 66 66 73 65 74 |item 1 o|f offset|
|00001710| 50 6f 73 20 74 6f 20 69 | 74 65 6d 20 31 20 6f 66 |Pos to i|tem 1 of|
|00001720| 20 77 68 61 74 52 65 63 | 74 0d 61 64 64 20 69 74 | whatRec|t.add it|
|00001730| 65 6d 20 32 20 6f 66 20 | 6f 66 66 73 65 74 50 6f |em 2 of |offsetPo|
|00001740| 73 20 74 6f 20 69 74 65 | 6d 20 32 20 6f 66 20 77 |s to ite|m 2 of w|
|00001750| 68 61 74 52 65 63 74 0d | 69 66 20 74 68 65 20 6e |hatRect.|if the n|
|00001760| 75 6d 62 65 72 20 6f 66 | 20 69 74 65 6d 73 20 6f |umber of| items o|
|00001770| 66 20 77 68 61 74 52 65 | 63 74 20 3d 20 34 20 74 |f whatRe|ct = 4 t|
|00001780| 68 65 6e 0d 61 64 64 20 | 69 74 65 6d 20 31 20 6f |hen.add |item 1 o|
|00001790| 66 20 6f 66 66 73 65 74 | 50 6f 73 20 74 6f 20 69 |f offset|Pos to i|
|000017a0| 74 65 6d 20 33 20 6f 66 | 20 77 68 61 74 52 65 63 |tem 3 of| whatRec|
|000017b0| 74 0d 61 64 64 20 69 74 | 65 6d 20 32 20 6f 66 20 |t.add it|em 2 of |
|000017c0| 6f 66 66 73 65 74 50 6f | 73 20 74 6f 20 69 74 65 |offsetPo|s to ite|
|000017d0| 6d 20 34 20 6f 66 20 77 | 68 61 74 52 65 63 74 0d |m 4 of w|hatRect.|
|000017e0| 65 6e 64 20 69 66 0d 72 | 65 74 75 72 6e 20 77 68 |end if.r|eturn wh|
|000017f0| 61 74 52 65 63 74 0d 65 | 6e 64 20 64 6f 43 61 72 |atRect.e|nd doCar|
|00001800| 64 4f 66 66 73 65 74 0d | 0d 6f 6e 20 75 73 65 4c |dOffset.|.on useL|
|00001810| 61 73 74 41 75 64 69 6f | 53 74 61 74 65 0d 67 6c |astAudio|State.gl|
|00001820| 6f 62 61 6c 20 6c 61 73 | 74 41 75 64 69 6f 53 74 |obal las|tAudioSt|
|00001830| 61 74 65 0d 69 66 20 6c | 61 73 74 41 75 64 69 6f |ate.if l|astAudio|
|00001840| 53 74 61 74 65 20 3d 20 | 22 70 6c 61 79 22 20 74 |State = |"play" t|
|00001850| 68 65 6e 20 73 65 74 49 | 64 6c 65 43 6f 6d 6d 61 |hen setI|dleComma|
|00001860| 6e 64 20 22 70 6c 61 79 | 43 6f 6e 74 72 6f 6c 50 |nd "play|ControlP|
|00001870| 61 6e 65 6c 22 0d 65 6e | 64 20 75 73 65 4c 61 73 |anel".en|d useLas|
|00001880| 74 41 75 64 69 6f 53 74 | 61 74 65 0d 0d 6f 6e 20 |tAudioSt|ate..on |
|00001890| 72 65 6d 65 6d 62 65 72 | 41 75 64 69 6f 53 74 61 |remember|AudioSta|
|000018a0| 74 65 0d 67 6c 6f 62 61 | 6c 20 63 75 72 72 65 6e |te.globa|l curren|
|000018b0| 74 41 75 64 69 6f 53 74 | 61 74 65 2c 20 6c 61 73 |tAudioSt|ate, las|
|000018c0| 74 41 75 64 69 6f 53 74 | 61 74 65 0d 70 75 74 20 |tAudioSt|ate.put |
|000018d0| 63 75 72 72 65 6e 74 41 | 75 64 69 6f 53 74 61 74 |currentA|udioStat|
|000018e0| 65 20 69 6e 74 6f 20 6c | 61 73 74 41 75 64 69 6f |e into l|astAudio|
|000018f0| 53 74 61 74 65 0d 65 6e | 64 20 72 65 6d 65 6d 62 |State.en|d rememb|
|00001900| 65 72 41 75 64 69 6f 53 | 74 61 74 65 0d 0d 6f 6e |erAudioS|tate..on|
|00001910| 20 73 68 6f 77 49 63 6f | 6e 42 61 72 0d 69 66 20 | showIco|nBar.if |
|00001920| 74 68 65 72 65 20 69 73 | 20 61 20 62 67 20 62 74 |there is| a bg bt|
|00001930| 6e 20 22 69 63 6f 6e 42 | 61 72 50 6c 61 63 65 22 |n "iconB|arPlace"|
|00001940| 20 74 68 65 6e 20 c2 0d | 73 68 6f 77 48 69 6c 69 | then ..|showHili|
|00001950| 74 65 20 22 69 63 6f 6e | 42 61 72 50 6c 61 63 65 |te "icon|BarPlace|
|00001960| 22 2c 22 69 63 6f 6e 42 | 61 72 22 2c 22 62 67 22 |","iconB|ar","bg"|
|00001970| 2c 66 61 6c 73 65 20 20 | 2d 2d 20 77 61 69 74 20 |,false |-- wait |
|00001980| 66 6f 72 20 75 6e 6c 6f | 63 6b 0d 65 6e 64 20 73 |for unlo|ck.end s|
|00001990| 68 6f 77 49 63 6f 6e 42 | 61 72 0d 0d 6f 6e 20 74 |howIconB|ar..on t|
|000019a0| 6f 67 67 6c 65 41 75 64 | 69 6f 20 62 74 6e 4e 61 |oggleAud|io btnNa|
|000019b0| 6d 65 2c 6d 79 4c 65 76 | 65 6c 0d 67 6c 6f 62 61 |me,myLev|el.globa|
|000019c0| 6c 20 6d 6f 76 69 65 41 | 75 64 69 6f 4c 65 76 65 |l movieA|udioLeve|
|000019d0| 6c 2c 73 79 73 74 65 6d | 41 75 64 69 6f 4c 65 76 |l,system|AudioLev|
|000019e0| 65 6c 0d 73 68 6f 77 4d | 79 48 69 6c 69 74 65 20 |el.showM|yHilite |
|000019f0| 28 62 74 6e 4e 61 6d 65 | 26 22 44 6f 77 6e 22 29 |(btnName|&"Down")|
|00001a00| 2c 74 72 75 65 0d 67 65 | 74 20 74 72 61 6e 73 6c |,true.ge|t transl|
|00001a10| 61 74 65 41 75 64 69 6f | 4c 65 76 65 6c 28 22 73 |ateAudio|Level("s|
|00001a20| 79 73 74 65 6d 41 75 64 | 69 6f 4c 65 76 65 6c 22 |ystemAud|ioLevel"|
|00001a30| 2c 73 79 73 74 65 6d 41 | 75 64 69 6f 4c 65 76 65 |,systemA|udioLeve|
|00001a40| 6c 29 0d 70 75 74 20 22 | 61 75 64 69 6f 22 26 69 |l).put "|audio"&i|
|00001a50| 74 20 69 6e 74 6f 20 6f | 66 66 42 74 6e 4e 61 6d |t into o|ffBtnNam|
|00001a60| 65 0d 70 75 74 20 6f 66 | 66 42 74 6e 4e 61 6d 65 |e.put of|fBtnName|
|00001a70| 26 22 55 70 22 20 69 6e | 74 6f 20 6f 66 66 42 74 |&"Up" in|to offBt|
|00001a80| 6e 50 69 63 74 0d 77 61 | 69 74 20 75 6e 74 69 6c |nPict.wa|it until|
|00001a90| 20 74 68 65 20 6d 6f 75 | 73 65 20 69 73 20 75 70 | the mou|se is up|
|00001aa0| 0d 69 66 20 74 68 65 20 | 6d 6f 75 73 65 4c 6f 63 |.if the |mouseLoc|
|00001ab0| 20 69 73 20 77 69 74 68 | 69 6e 20 74 68 65 20 72 | is with|in the r|
|00001ac0| 65 63 74 20 6f 66 20 74 | 68 65 20 74 61 72 67 65 |ect of t|he targe|
|00001ad0| 74 20 74 68 65 6e 0d 69 | 66 20 69 74 20 ad 20 6d |t then.i|f it . m|
|00001ae0| 79 4c 65 76 65 6c 20 74 | 68 65 6e 0d 73 68 6f 77 |yLevel t|hen.show|
|00001af0| 48 69 6c 69 74 65 20 6f | 66 66 42 74 6e 4e 61 6d |Hilite o|ffBtnNam|
|00001b00| 65 2c 6f 66 66 42 74 6e | 50 69 63 74 0d 65 6e 64 |e,offBtn|Pict.end|
|00001b10| 20 69 66 0d 73 68 6f 77 | 4d 79 48 69 6c 69 74 65 | if.show|MyHilite|
|00001b20| 20 28 62 74 6e 4e 61 6d | 65 26 22 4f 6e 22 29 0d | (btnNam|e&"On").|
|00001b30| 73 65 74 41 75 64 69 6f | 4c 65 76 65 6c 20 6d 79 |setAudio|Level my|
|00001b40| 4c 65 76 65 6c 0d 65 6c | 73 65 0d 2d 2d 20 6d 6f |Level.el|se.-- mo|
|00001b50| 75 73 65 20 77 61 73 20 | 72 65 6c 65 61 73 65 64 |use was |released|
|00001b60| 20 6f 75 74 73 69 64 65 | 20 74 68 65 20 74 61 72 | outside| the tar|
|00001b70| 67 65 74 0d 2d 2d 20 73 | 6f 20 73 65 74 20 74 68 |get.-- s|o set th|
|00001b80| 65 20 70 61 6e 65 6c 20 | 62 61 63 6b 20 74 68 65 |e panel |back the|
|00001b90| 20 77 61 79 20 69 74 20 | 77 61 73 0d 69 66 20 6f | way it |was.if o|
|00001ba0| 66 66 42 74 6e 4e 61 6d | 65 20 ad 20 62 74 6e 4e |ffBtnNam|e . btnN|
|00001bb0| 61 6d 65 20 74 68 65 6e | 20 73 68 6f 77 4d 79 48 |ame then| showMyH|
|00001bc0| 69 6c 69 74 65 20 28 62 | 74 6e 4e 61 6d 65 26 22 |ilite (b|tnName&"|
|00001bd0| 55 70 22 29 2c 74 72 75 | 65 0d 70 75 74 20 6f 66 |Up"),tru|e.put of|
|00001be0| 66 42 74 6e 4e 61 6d 65 | 26 22 4f 6e 22 20 69 6e |fBtnName|&"On" in|
|00001bf0| 74 6f 20 62 74 6e 50 69 | 63 74 0d 73 68 6f 77 48 |to btnPi|ct.showH|
|00001c00| 69 6c 69 74 65 20 6f 66 | 66 42 74 6e 4e 61 6d 65 |ilite of|fBtnName|
|00001c10| 2c 62 74 6e 50 69 63 74 | 2c 74 72 75 65 0d 65 6e |,btnPict|,true.en|
|00001c20| 64 20 69 66 0d 65 6e 64 | 20 74 6f 67 67 6c 65 41 |d if.end| toggleA|
|00001c30| 75 64 69 6f 0d 0d 6f 6e | 20 73 68 6f 77 42 47 49 |udio..on| showBGI|
|00001c40| 63 6f 6e 73 20 77 68 69 | 63 68 0d 69 66 20 77 68 |cons whi|ch.if wh|
|00001c50| 69 63 68 20 3d 20 22 71 | 75 69 74 55 70 2c 6d 65 |ich = "q|uitUp,me|
|00001c60| 6e 75 55 70 2c 68 65 6c | 70 55 70 2c 6e 6f 49 63 |nuUp,hel|pUp,noIc|
|00001c70| 6f 6e 2c 6e 6f 49 63 6f | 6e 22 20 74 68 65 6e 0d |on,noIco|n" then.|
|00001c80| 73 68 6f 77 49 63 6f 6e | 42 61 72 0d 65 6c 73 65 |showIcon|Bar.else|
|00001c90| 0d 67 65 74 20 69 74 65 | 6d 20 31 20 6f 66 20 77 |.get ite|m 1 of w|
|00001ca0| 68 69 63 68 0d 69 66 20 | 69 74 20 69 73 20 65 6d |hich.if |it is em|
|00001cb0| 70 74 79 20 74 68 65 6e | 20 67 65 74 20 22 6e 6f |pty then| get "no|
|00001cc0| 49 63 6f 6e 22 0d 73 68 | 6f 77 48 69 6c 69 74 65 |Icon".sh|owHilite|
|00001cd0| 20 22 51 75 69 74 22 2c | 69 74 2c 22 62 67 22 2c | "Quit",|it,"bg",|
|00001ce0| 66 61 6c 73 65 0d 67 65 | 74 20 69 74 65 6d 20 32 |false.ge|t item 2|
|00001cf0| 20 6f 66 20 77 68 69 63 | 68 0d 69 66 20 69 74 20 | of whic|h.if it |
|00001d00| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 67 65 |is empty| then ge|
|00001d10| 74 20 22 6e 6f 49 63 6f | 6e 22 0d 73 68 6f 77 48 |t "noIco|n".showH|
|00001d20| 69 6c 69 74 65 20 22 4d | 65 6e 75 22 2c 69 74 2c |ilite "M|enu",it,|
|00001d30| 22 62 67 22 2c 66 61 6c | 73 65 0d 67 65 74 20 69 |"bg",fal|se.get i|
|00001d40| 74 65 6d 20 33 20 6f 66 | 20 77 68 69 63 68 0d 69 |tem 3 of| which.i|
|00001d50| 66 20 69 74 20 69 73 20 | 65 6d 70 74 79 20 74 68 |f it is |empty th|
|00001d60| 65 6e 20 67 65 74 20 22 | 6e 6f 49 63 6f 6e 22 0d |en get "|noIcon".|
|00001d70| 73 68 6f 77 48 69 6c 69 | 74 65 20 22 48 65 6c 70 |showHili|te "Help|
|00001d80| 22 2c 69 74 2c 22 62 67 | 22 2c 66 61 6c 73 65 0d |",it,"bg|",false.|
|00001d90| 67 65 74 20 69 74 65 6d | 20 34 20 6f 66 20 77 68 |get item| 4 of wh|
|00001da0| 69 63 68 0d 69 66 20 69 | 74 20 69 73 20 65 6d 70 |ich.if i|t is emp|
|00001db0| 74 79 20 74 68 65 6e 20 | 67 65 74 20 22 6e 6f 49 |ty then |get "noI|
|00001dc0| 63 6f 6e 22 0d 73 68 6f | 77 48 69 6c 69 74 65 20 |con".sho|wHilite |
|00001dd0| 22 45 78 65 72 63 69 73 | 65 22 2c 69 74 2c 22 62 |"Exercis|e",it,"b|
|00001de0| 67 22 2c 66 61 6c 73 65 | 0d 67 65 74 20 69 74 65 |g",false|.get ite|
|00001df0| 6d 20 35 20 6f 66 20 77 | 68 69 63 68 0d 69 66 20 |m 5 of w|hich.if |
|00001e00| 69 74 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |it is em|pty then|
|00001e10| 20 67 65 74 20 22 6e 6f | 49 63 6f 6e 22 0d 73 68 | get "no|Icon".sh|
|00001e20| 6f 77 48 69 6c 69 74 65 | 20 22 50 72 69 6e 74 49 |owHilite| "PrintI|
|00001e30| 63 6f 6e 22 2c 69 74 2c | 22 62 67 22 2c 66 61 6c |con",it,|"bg",fal|
|00001e40| 73 65 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 73 68 |se.end i|f.end sh|
|00001e50| 6f 77 42 47 49 63 6f 6e | 73 0d 0d 6f 6e 20 73 61 |owBGIcon|s..on sa|
|00001e60| 76 65 4c 61 73 74 43 61 | 72 64 0d 67 6c 6f 62 61 |veLastCa|rd.globa|
|00001e70| 6c 20 6c 61 73 74 43 61 | 72 64 0d 70 75 74 20 74 |l lastCa|rd.put t|
|00001e80| 68 65 20 73 68 6f 72 74 | 20 6e 61 6d 65 20 6f 66 |he short| name of|
|00001e90| 20 74 68 69 73 20 63 61 | 72 64 20 69 6e 74 6f 20 | this ca|rd into |
|00001ea0| 6c 61 73 74 43 61 72 64 | 0d 65 6e 64 20 73 61 76 |lastCard|.end sav|
|00001eb0| 65 4c 61 73 74 43 61 72 | 64 0d 0d 6f 6e 20 64 69 |eLastCar|d..on di|
|00001ec0| 61 6c 6f 67 52 65 66 72 | 65 73 68 0d 65 6e 64 20 |alogRefr|esh.end |
|00001ed0| 64 69 61 6c 6f 67 52 65 | 66 72 65 73 68 0d 0d 6f |dialogRe|fresh..o|
|00001ee0| 6e 20 68 69 64 65 43 6f | 6e 74 72 6f 6c 50 61 6e |n hideCo|ntrolPan|
|00001ef0| 65 6c 0d 2d 2d 20 74 68 | 6f 73 65 20 62 67 73 20 |el.-- th|ose bgs |
|00001f00| 74 68 61 74 20 68 61 76 | 65 20 63 6f 6e 74 72 6f |that hav|e contro|
|00001f10| 6c 20 70 61 6e 65 6c 20 | 63 61 6e 20 68 69 64 65 |l panel |can hide|
|00001f20| 20 69 74 0d 65 6e 64 20 | 68 69 64 65 43 6f 6e 74 | it.end |hideCont|
|00001f30| 72 6f 6c 50 61 6e 65 6c | 0d 0d 6f 6e 20 64 6f 53 |rolPanel|..on doS|
|00001f40| 79 6e 63 68 20 77 68 69 | 63 68 2c 77 68 6f 73 43 |ynch whi|ch,whosC|
|00001f50| 61 6c 6c 69 6e 67 0d 67 | 6c 6f 62 61 6c 20 6c 61 |alling.g|lobal la|
|00001f60| 73 74 53 79 6e 63 68 2c | 20 63 75 72 72 65 6e 74 |stSynch,| current|
|00001f70| 4d 6f 76 69 65 2c 20 63 | 75 72 72 65 6e 74 41 75 |Movie, c|urrentAu|
|00001f80| 64 69 6f 0d 67 6c 6f 62 | 61 6c 20 63 75 72 72 65 |dio.glob|al curre|
|00001f90| 6e 74 4d 6f 76 69 65 4e | 75 6d 2c 20 63 75 72 72 |ntMovieN|um, curr|
|00001fa0| 65 6e 74 41 75 64 69 6f | 4e 75 6d 0d 67 6c 6f 62 |entAudio|Num.glob|
|00001fb0| 61 6c 20 6f 75 74 6c 69 | 6e 65 53 63 72 6f 6c 6c |al outli|neScroll|
|00001fc0| 2c 20 6e 61 72 72 61 74 | 69 76 65 53 63 72 6f 6c |, narrat|iveScrol|
|00001fd0| 6c 2c 20 6c 61 73 74 41 | 75 64 69 6f 53 74 61 74 |l, lastA|udioStat|
|00001fe0| 65 0d 67 6c 6f 62 61 6c | 20 74 72 69 67 67 65 72 |e.global| trigger|
|00001ff0| 4d 6f 76 69 65 53 74 61 | 74 65 2c 74 72 69 67 67 |MovieSta|te,trigg|
|00002000| 65 72 4d 6f 76 69 65 4d | 6f 64 65 0d 73 65 74 20 |erMovieM|ode.set |
|00002010| 63 75 72 73 6f 72 20 74 | 6f 20 77 61 74 63 68 0d |cursor t|o watch.|
|00002020| 70 75 74 20 6c 69 6e 65 | 20 77 68 69 63 68 20 6f |put line| which o|
|00002030| 66 20 62 67 20 66 6c 64 | 20 22 6d 79 54 72 69 67 |f bg fld| "myTrig|
|00002040| 67 65 72 73 22 20 69 6e | 74 6f 20 74 65 6d 70 0d |gers" in|to temp.|
|00002050| 70 75 74 20 77 6f 72 64 | 20 33 20 6f 66 20 74 65 |put word| 3 of te|
|00002060| 6d 70 20 69 6e 74 6f 20 | 6e 65 78 74 54 72 69 67 |mp into |nextTrig|
|00002070| 67 65 72 0d 70 75 74 20 | 77 6f 72 64 20 36 20 6f |ger.put |word 6 o|
|00002080| 66 20 74 65 6d 70 20 69 | 6e 74 6f 20 6e 65 78 74 |f temp i|nto next|
|00002090| 43 6f 6d 6d 61 6e 64 0d | 70 75 74 20 22 73 74 69 |Command.|put "sti|
|000020a0| 6c 6c 22 20 69 6e 74 6f | 20 74 72 69 67 67 65 72 |ll" into| trigger|
|000020b0| 4d 6f 76 69 65 53 74 61 | 74 65 0d 69 66 20 6e 65 |MovieSta|te.if ne|
|000020c0| 78 74 43 6f 6d 6d 61 6e | 64 20 63 6f 6e 74 61 69 |xtComman|d contai|
|000020d0| 6e 73 20 22 70 6c 61 79 | 22 20 74 68 65 6e 20 70 |ns "play|" then p|
|000020e0| 75 74 20 22 70 6c 61 79 | 22 20 69 6e 74 6f 20 74 |ut "play|" into t|
|000020f0| 72 69 67 67 65 72 4d 6f | 76 69 65 53 74 61 74 65 |riggerMo|vieState|
|00002100| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00002110| 6d 79 43 6f 6d 6d 61 6e | 64 0d 69 66 20 74 65 6d |myComman|d.if tem|
|00002120| 70 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 0d |p is emp|ty then.|
|00002130| 6e 6f 54 72 69 67 67 65 | 72 46 72 61 6d 65 0d 65 |noTrigge|rFrame.e|
|00002140| 78 69 74 20 64 6f 53 79 | 6e 63 68 0d 65 6e 64 20 |xit doSy|nch.end |
|00002150| 69 66 0d 0d 70 75 74 20 | 77 68 69 63 68 20 69 6e |if..put |which in|
|00002160| 74 6f 20 6c 61 73 74 53 | 79 6e 63 68 0d 70 75 74 |to lastS|ynch.put|
|00002170| 20 77 6f 72 64 20 32 20 | 6f 66 20 74 65 6d 70 20 | word 2 |of temp |
|00002180| 69 6e 74 6f 20 74 68 69 | 73 46 72 61 6d 65 0d 70 |into thi|sFrame.p|
|00002190| 75 74 20 77 6f 72 64 20 | 34 20 6f 66 20 74 65 6d |ut word |4 of tem|
|000021a0| 70 20 69 6e 74 6f 20 70 | 72 6f 67 72 65 73 73 56 |p into p|rogressV|
|000021b0| 61 6c 75 65 0d 70 75 74 | 20 77 6f 72 64 20 35 20 |alue.put| word 5 |
|000021c0| 6f 66 20 74 65 6d 70 20 | 69 6e 74 6f 20 74 65 6d |of temp |into tem|
|000021d0| 70 56 61 6c 75 65 73 0d | 69 66 20 77 68 6f 73 43 |pValues.|if whosC|
|000021e0| 61 6c 6c 69 6e 67 20 69 | 73 20 65 6d 70 74 79 20 |alling i|s empty |
|000021f0| 74 68 65 6e 20 70 75 74 | 20 22 70 61 6e 65 6c 22 |then put| "panel"|
|00002200| 20 69 6e 74 6f 20 77 68 | 6f 73 43 61 6c 6c 69 6e | into wh|osCallin|
|00002210| 67 0d 0d 69 66 20 70 72 | 6f 67 72 65 73 73 56 61 |g..if pr|ogressVa|
|00002220| 6c 75 65 20 63 6f 6e 74 | 61 69 6e 73 20 22 6d 22 |lue cont|ains "m"|
|00002230| 20 74 68 65 6e 0d 2d 2d | 20 6d 6f 76 69 65 20 69 | then.--| movie i|
|00002240| 73 20 6c 6f 6e 67 65 72 | 0d 70 75 74 20 74 72 75 |s longer|.put tru|
|00002250| 65 20 69 6e 74 6f 20 6d | 6f 76 69 65 4c 6f 6e 67 |e into m|ovieLong|
|00002260| 65 72 0d 64 65 6c 65 74 | 65 20 6c 61 73 74 20 63 |er.delet|e last c|
|00002270| 68 61 72 20 6f 66 20 70 | 72 6f 67 72 65 73 73 56 |har of p|rogressV|
|00002280| 61 6c 75 65 0d 65 6c 73 | 65 0d 70 75 74 20 66 61 |alue.els|e.put fa|
|00002290| 6c 73 65 20 69 6e 74 6f | 20 6d 6f 76 69 65 4c 6f |lse into| movieLo|
|000022a0| 6e 67 65 72 0d 65 6e 64 | 20 69 66 0d 0d 2d 2d 20 |nger.end| if..-- |
|000022b0| 73 65 74 20 74 68 65 20 | 73 65 67 6d 65 6e 74 20 |set the |segment |
|000022c0| 65 6e 64 20 74 6f 20 74 | 68 65 20 74 72 69 67 67 |end to t|he trigg|
|000022d0| 65 72 66 72 61 6d 65 0d | 70 75 74 20 6e 65 78 74 |erframe.|put next|
|000022e0| 54 72 69 67 67 65 72 20 | 69 6e 74 6f 20 65 6e 64 |Trigger |into end|
|000022f0| 46 72 61 6d 65 0d 0d 70 | 75 74 20 66 61 6c 73 65 |Frame..p|ut false|
|00002300| 20 69 6e 74 6f 20 72 65 | 73 75 6d 65 50 6c 61 79 | into re|sumePlay|
|00002310| 69 6e 67 0d 67 65 74 20 | 69 74 65 6d 20 31 20 6f |ing.get |item 1 o|
|00002320| 66 20 6e 65 78 74 43 6f | 6d 6d 61 6e 64 0d 2d 2d |f nextCo|mmand.--|
|00002330| 20 74 68 69 73 20 69 73 | 20 61 20 73 65 74 20 6f | this is| a set o|
|00002340| 66 20 73 63 72 6f 6c 6c | 20 76 61 6c 75 65 73 0d |f scroll| values.|
|00002350| 70 75 74 20 69 74 65 6d | 20 32 20 6f 66 20 74 65 |put item| 2 of te|
|00002360| 6d 70 56 61 6c 75 65 73 | 20 69 6e 74 6f 20 6e 61 |mpValues| into na|
|00002370| 72 72 61 74 69 76 65 53 | 63 72 6f 6c 6c 0d 70 75 |rrativeS|croll.pu|
|00002380| 74 20 69 74 65 6d 20 34 | 20 6f 66 20 74 65 6d 70 |t item 4| of temp|
|00002390| 56 61 6c 75 65 73 20 69 | 6e 74 6f 20 6f 75 74 6c |Values i|nto outl|
|000023a0| 69 6e 65 53 63 72 6f 6c | 6c 0d 70 75 74 20 69 74 |ineScrol|l.put it|
|000023b0| 65 6d 20 36 20 6f 66 20 | 74 65 6d 70 56 61 6c 75 |em 6 of |tempValu|
|000023c0| 65 73 20 69 6e 74 6f 20 | 74 65 6d 70 4d 6f 76 69 |es into |tempMovi|
|000023d0| 65 4e 75 6d 0d 70 75 74 | 20 69 74 65 6d 20 37 20 |eNum.put| item 7 |
|000023e0| 74 6f 20 38 20 6f 66 20 | 74 65 6d 70 56 61 6c 75 |to 8 of |tempValu|
|000023f0| 65 73 20 69 6e 74 6f 20 | 74 68 69 73 53 63 72 6f |es into |thisScro|
|00002400| 6c 6c 0d 70 75 74 20 69 | 74 65 6d 20 31 30 20 6f |ll.put i|tem 10 o|
|00002410| 66 20 74 65 6d 70 56 61 | 6c 75 65 73 20 69 6e 74 |f tempVa|lues int|
|00002420| 6f 20 74 65 6d 70 41 75 | 64 69 6f 4e 75 6d 0d 70 |o tempAu|dioNum.p|
|00002430| 75 74 20 69 74 65 6d 20 | 31 31 20 6f 66 20 74 65 |ut item |11 of te|
|00002440| 6d 70 56 61 6c 75 65 73 | 20 69 6e 74 6f 20 6d 79 |mpValues| into my|
|00002450| 43 6f 6d 6d 61 6e 64 0d | 0d 70 75 74 20 65 6d 70 |Command.|.put emp|
|00002460| 74 79 20 69 6e 74 6f 20 | 74 72 69 67 67 65 72 4d |ty into |triggerM|
|00002470| 6f 76 69 65 4d 6f 64 65 | 0d 69 66 20 6e 65 78 74 |ovieMode|.if next|
|00002480| 43 6f 6d 6d 61 6e 64 20 | 63 6f 6e 74 61 69 6e 73 |Command |contains|
|00002490| 20 22 73 6f 6c 6f 22 20 | 74 68 65 6e 0d 69 66 20 | "solo" |then.if |
|000024a0| 6e 65 78 74 43 6f 6d 6d | 61 6e 64 20 63 6f 6e 74 |nextComm|and cont|
|000024b0| 61 69 6e 73 20 22 4c 6f | 6e 67 53 6f 6c 6f 22 20 |ains "Lo|ngSolo" |
|000024c0| 74 68 65 6e 0d 70 75 74 | 20 22 4c 6f 6e 67 53 6f |then.put| "LongSo|
|000024d0| 6c 6f 22 20 69 6e 74 6f | 20 74 72 69 67 67 65 72 |lo" into| trigger|
|000024e0| 4d 6f 76 69 65 4d 6f 64 | 65 0d 70 75 74 20 66 65 |MovieMod|e.put fe|
|000024f0| 74 63 68 4d 6f 76 69 65 | 53 74 6f 70 28 29 20 69 |tchMovie|Stop() i|
|00002500| 6e 74 6f 20 69 74 65 6d | 20 33 20 6f 66 20 74 68 |nto item| 3 of th|
|00002510| 69 73 53 63 72 6f 6c 6c | 0d 65 6c 73 65 20 69 66 |isScroll|.else if|
|00002520| 20 6e 65 78 74 43 6f 6d | 6d 61 6e 64 20 63 6f 6e | nextCom|mand con|
|00002530| 74 61 69 6e 73 20 22 45 | 78 65 72 63 69 73 65 22 |tains "E|xercise"|
|00002540| 20 74 68 65 6e 0d 70 75 | 74 20 22 65 78 65 72 63 | then.pu|t "exerc|
|00002550| 69 73 65 22 20 69 6e 74 | 6f 20 74 72 69 67 67 65 |ise" int|o trigge|
|00002560| 72 4d 6f 76 69 65 4d 6f | 64 65 0d 65 6c 73 65 0d |rMovieMo|de.else.|
|00002570| 70 75 74 20 22 73 6f 6c | 6f 22 20 69 6e 74 6f 20 |put "sol|o" into |
|00002580| 74 72 69 67 67 65 72 4d | 6f 76 69 65 4d 6f 64 65 |triggerM|ovieMode|
|00002590| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 69 66 0d 0d |.end if.|end if..|
|000025a0| 67 65 74 54 65 78 74 20 | 22 6f 75 74 6c 69 6e 65 |getText |"outline|
|000025b0| 22 2c 6f 75 74 6c 69 6e | 65 53 63 72 6f 6c 6c 0d |",outlin|eScroll.|
|000025c0| 67 65 74 54 65 78 74 20 | 22 6e 61 72 72 61 74 69 |getText |"narrati|
|000025d0| 76 65 22 2c 6e 61 72 72 | 61 74 69 76 65 53 63 72 |ve",narr|ativeScr|
|000025e0| 6f 6c 6c 0d 73 68 6f 77 | 50 72 6f 67 72 65 73 73 |oll.show|Progress|
|000025f0| 20 70 72 6f 67 72 65 73 | 73 56 61 6c 75 65 0d 0d | progres|sValue..|
|00002600| 70 75 74 20 74 72 75 65 | 20 69 6e 74 6f 20 64 6f |put true| into do|
|00002610| 53 79 6e 63 68 41 75 64 | 69 6f 0d 69 66 20 69 74 |SynchAud|io.if it|
|00002620| 65 6d 20 32 20 6f 66 20 | 6e 65 78 74 43 6f 6d 6d |em 2 of |nextComm|
|00002630| 61 6e 64 20 63 6f 6e 74 | 61 69 6e 73 20 22 73 6f |and cont|ains "so|
|00002640| 6c 6f 22 20 74 68 65 6e | 0d 64 69 73 70 6f 73 65 |lo" then|.dispose|
|00002650| 41 75 64 69 6f 0d 70 75 | 74 20 66 61 6c 73 65 20 |Audio.pu|t false |
|00002660| 69 6e 74 6f 20 64 6f 53 | 79 6e 63 68 41 75 64 69 |into doS|ynchAudi|
|00002670| 6f 0d 65 6e 64 20 69 66 | 0d 0d 69 66 20 77 68 6f |o.end if|..if who|
|00002680| 73 43 61 6c 6c 69 6e 67 | 20 3d 20 22 61 75 64 69 |sCalling| = "audi|
|00002690| 6f 22 20 6f 72 20 77 68 | 6f 73 43 61 6c 6c 69 6e |o" or wh|osCallin|
|000026a0| 67 20 3d 20 22 6d 6f 76 | 69 65 22 20 74 68 65 6e |g = "mov|ie" then|
|000026b0| 0d 2d 2d 20 74 68 65 20 | 61 75 64 69 6f 20 6f 72 |.-- the |audio or|
|000026c0| 20 6d 6f 76 69 65 20 61 | 73 6b 65 64 20 74 6f 20 | movie a|sked to |
|000026d0| 63 68 61 6e 67 65 20 74 | 68 65 20 61 75 64 69 6f |change t|he audio|
|000026e0| 2c 20 6d 6f 76 69 65 20 | 61 6e 64 20 74 65 78 74 |, movie |and text|
|000026f0| 0d 70 75 74 20 74 72 75 | 65 20 69 6e 74 6f 20 72 |.put tru|e into r|
|00002700| 65 73 75 6d 65 50 6c 61 | 79 69 6e 67 0d 73 79 6e |esumePla|ying.syn|
|00002710| 63 68 4d 6f 76 69 65 20 | 74 65 6d 70 4d 6f 76 69 |chMovie |tempMovi|
|00002720| 65 4e 75 6d 2c 20 72 65 | 73 75 6d 65 50 6c 61 79 |eNum, re|sumePlay|
|00002730| 69 6e 67 2c 20 74 68 69 | 73 53 63 72 6f 6c 6c 2c |ing, thi|sScroll,|
|00002740| 20 6d 6f 76 69 65 4c 6f | 6e 67 65 72 0d 69 66 20 | movieLo|nger.if |
|00002750| 64 6f 53 79 6e 63 68 41 | 75 64 69 6f 20 74 68 65 |doSynchA|udio the|
|00002760| 6e 0d 73 79 6e 63 68 41 | 75 64 69 6f 20 74 65 6d |n.synchA|udio tem|
|00002770| 70 41 75 64 69 6f 4e 75 | 6d 2c 20 74 68 69 73 46 |pAudioNu|m, thisF|
|00002780| 72 61 6d 65 2c 20 65 6e | 64 46 72 61 6d 65 0d 65 |rame, en|dFrame.e|
|00002790| 6e 64 20 69 66 0d 0d 65 | 6c 73 65 20 69 66 20 77 |nd if..e|lse if w|
|000027a0| 68 6f 73 43 61 6c 6c 69 | 6e 67 20 3d 20 22 70 61 |hosCalli|ng = "pa|
|000027b0| 6e 65 6c 22 20 74 68 65 | 6e 0d 2d 2d 20 74 68 65 |nel" the|n.-- the|
|000027c0| 20 74 65 78 74 20 61 73 | 6b 65 64 20 74 6f 20 63 | text as|ked to c|
|000027d0| 68 61 6e 67 65 20 74 68 | 65 20 61 75 64 69 6f 2f |hange th|e audio/|
|000027e0| 6d 6f 76 69 65 20 61 6e | 64 20 74 65 78 74 0d 69 |movie an|d text.i|
|000027f0| 66 20 6c 61 73 74 41 75 | 64 69 6f 53 74 61 74 65 |f lastAu|dioState|
|00002800| 20 69 73 20 22 70 6c 61 | 79 22 20 74 68 65 6e 0d | is "pla|y" then.|
|00002810| 70 75 74 20 74 72 75 65 | 20 69 6e 74 6f 20 72 65 |put true| into re|
|00002820| 73 75 6d 65 50 6c 61 79 | 69 6e 67 0d 65 6c 73 65 |sumePlay|ing.else|
|00002830| 0d 70 75 74 20 66 61 6c | 73 65 20 69 6e 74 6f 20 |.put fal|se into |
|00002840| 72 65 73 75 6d 65 50 6c | 61 79 69 6e 67 0d 65 6e |resumePl|aying.en|
|00002850| 64 20 69 66 0d 73 79 6e | 63 68 4d 6f 76 69 65 20 |d if.syn|chMovie |
|00002860| 74 65 6d 70 4d 6f 76 69 | 65 4e 75 6d 2c 20 72 65 |tempMovi|eNum, re|
|00002870| 73 75 6d 65 50 6c 61 79 | 69 6e 67 2c 20 74 68 69 |sumePlay|ing, thi|
|00002880| 73 53 63 72 6f 6c 6c 2c | 20 6d 6f 76 69 65 4c 6f |sScroll,| movieLo|
|00002890| 6e 67 65 72 0d 69 66 20 | 64 6f 53 79 6e 63 68 41 |nger.if |doSynchA|
|000028a0| 75 64 69 6f 20 74 68 65 | 6e 0d 73 79 6e 63 68 41 |udio the|n.synchA|
|000028b0| 75 64 69 6f 20 74 65 6d | 70 41 75 64 69 6f 4e 75 |udio tem|pAudioNu|
|000028c0| 6d 2c 20 74 68 69 73 46 | 72 61 6d 65 2c 20 65 6e |m, thisF|rame, en|
|000028d0| 64 46 72 61 6d 65 0d 65 | 6e 64 20 69 66 0d 0d 65 |dFrame.e|nd if..e|
|000028e0| 6c 73 65 20 69 66 20 77 | 68 6f 73 43 61 6c 6c 69 |lse if w|hosCalli|
|000028f0| 6e 67 20 3d 20 22 6f 70 | 65 6e 22 20 74 68 65 6e |ng = "op|en" then|
|00002900| 0d 2d 2d 20 6f 70 65 6e | 69 6e 67 20 74 68 65 20 |.-- open|ing the |
|00002910| 63 61 72 64 20 2d 20 73 | 65 74 20 74 68 65 20 61 |card - s|et the a|
|00002920| 75 64 69 6f 2f 6d 6f 76 | 69 65 20 61 6e 64 20 74 |udio/mov|ie and t|
|00002930| 65 78 74 0d 70 75 74 20 | 74 72 75 65 20 69 6e 74 |ext.put |true int|
|00002940| 6f 20 77 69 6c 6c 50 6c | 61 79 41 75 64 69 6f 0d |o willPl|ayAudio.|
|00002950| 73 79 6e 63 68 4d 6f 76 | 69 65 20 74 65 6d 70 4d |synchMov|ie tempM|
|00002960| 6f 76 69 65 4e 75 6d 2c | 20 77 69 6c 6c 50 6c 61 |ovieNum,| willPla|
|00002970| 79 41 75 64 69 6f 2c 20 | 74 68 69 73 53 63 72 6f |yAudio, |thisScro|
|00002980| 6c 6c 2c 20 6d 6f 76 69 | 65 4c 6f 6e 67 65 72 0d |ll, movi|eLonger.|
|00002990| 69 66 20 64 6f 53 79 6e | 63 68 41 75 64 69 6f 20 |if doSyn|chAudio |
|000029a0| 74 68 65 6e 0d 73 79 6e | 63 68 41 75 64 69 6f 20 |then.syn|chAudio |
|000029b0| 74 65 6d 70 41 75 64 69 | 6f 4e 75 6d 2c 20 74 68 |tempAudi|oNum, th|
|000029c0| 69 73 46 72 61 6d 65 2c | 20 65 6e 64 46 72 61 6d |isFrame,| endFram|
|000029d0| 65 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 66 0d |e.end if|.end if.|
|000029e0| 0d 2d 2d 20 73 65 74 20 | 74 68 65 20 63 61 6c 6c |.-- set |the call|
|000029f0| 62 61 63 6b 20 66 6f 72 | 20 74 68 65 20 6e 65 78 |back for| the nex|
|00002a00| 74 20 74 72 69 67 67 65 | 72 0d 69 66 20 6d 6f 76 |t trigge|r.if mov|
|00002a10| 69 65 4c 6f 6e 67 65 72 | 20 74 68 65 6e 0d 73 65 |ieLonger| then.se|
|00002a20| 74 4e 65 78 74 54 72 69 | 67 67 65 72 20 22 6e 6f |tNextTri|gger "no|
|00002a30| 6e 65 22 20 2d 2d 20 74 | 68 65 20 6d 6f 76 69 65 |ne" -- t|he movie|
|00002a40| 20 77 69 6c 6c 20 68 61 | 6e 64 6c 65 20 69 74 0d | will ha|ndle it.|
|00002a50| 65 6c 73 65 0d 73 65 74 | 4e 65 78 74 54 72 69 67 |else.set|NextTrig|
|00002a60| 67 65 72 20 6e 65 78 74 | 54 72 69 67 67 65 72 0d |ger next|Trigger.|
|00002a70| 65 6e 64 20 69 66 0d 0d | 69 66 20 6d 79 43 6f 6d |end if..|if myCom|
|00002a80| 6d 61 6e 64 20 69 73 20 | 6e 6f 74 20 65 6d 70 74 |mand is |not empt|
|00002a90| 79 20 61 6e 64 20 6e 6f | 74 28 6d 79 43 6f 6d 6d |y and no|t(myComm|
|00002aa0| 61 6e 64 20 63 6f 6e 74 | 61 69 6e 73 20 22 2a 22 |and cont|ains "*"|
|00002ab0| 29 20 74 68 65 6e 0d 73 | 65 6e 64 20 6d 79 43 6f |) then.s|end myCo|
|00002ac0| 6d 6d 61 6e 64 20 74 6f | 20 74 68 69 73 20 63 61 |mmand to| this ca|
|00002ad0| 72 64 0d 65 6e 64 20 69 | 66 0d 0d 69 66 20 72 65 |rd.end i|f..if re|
|00002ae0| 73 75 6d 65 50 6c 61 79 | 69 6e 67 20 74 68 65 6e |sumePlay|ing then|
|00002af0| 0d 70 75 74 20 69 74 65 | 6d 20 32 20 6f 66 20 6e |.put ite|m 2 of n|
|00002b00| 65 78 74 43 6f 6d 6d 61 | 6e 64 20 69 6e 74 6f 20 |extComma|nd into |
|00002b10| 74 68 69 73 43 6f 6d 6d | 61 6e 64 0d 69 66 20 74 |thisComm|and.if t|
|00002b20| 68 69 73 43 6f 6d 6d 61 | 6e 64 20 63 6f 6e 74 61 |hisComma|nd conta|
|00002b30| 69 6e 73 20 22 73 6f 6c | 6f 22 20 74 68 65 6e 0d |ins "sol|o" then.|
|00002b40| 73 65 74 49 64 6c 65 43 | 6f 6d 6d 61 6e 64 20 74 |setIdleC|ommand t|
|00002b50| 68 69 73 43 6f 6d 6d 61 | 6e 64 0d 65 6c 73 65 20 |hisComma|nd.else |
|00002b60| 69 66 20 74 68 69 73 43 | 6f 6d 6d 61 6e 64 20 63 |if thisC|ommand c|
|00002b70| 6f 6e 74 61 69 6e 73 20 | 22 64 6f 6e 65 22 20 74 |ontains |"done" t|
|00002b80| 68 65 6e 0d 73 65 74 49 | 64 6c 65 43 6f 6d 6d 61 |hen.setI|dleComma|
|00002b90| 6e 64 20 74 68 69 73 43 | 6f 6d 6d 61 6e 64 0d 65 |nd thisC|ommand.e|
|00002ba0| 6c 73 65 20 69 66 20 74 | 68 69 73 43 6f 6d 6d 61 |lse if t|hisComma|
|00002bb0| 6e 64 20 63 6f 6e 74 61 | 69 6e 73 20 22 70 6c 61 |nd conta|ins "pla|
|00002bc0| 79 22 20 6f 72 20 74 68 | 69 73 43 6f 6d 6d 61 6e |y" or th|isComman|
|00002bd0| 64 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 0d |d is emp|ty then.|
|00002be0| 73 65 74 49 64 6c 65 43 | 6f 6d 6d 61 6e 64 20 22 |setIdleC|ommand "|
|00002bf0| 72 65 73 75 6d 65 41 75 | 64 69 6f 22 0d 65 6c 73 |resumeAu|dio".els|
|00002c00| 65 20 69 66 20 74 68 69 | 73 43 6f 6d 6d 61 6e 64 |e if thi|sCommand|
|00002c10| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|00002c20| 65 6e 0d 73 65 74 49 64 | 6c 65 43 6f 6d 6d 61 6e |en.setId|leComman|
|00002c30| 64 20 74 68 69 73 43 6f | 6d 6d 61 6e 64 0d 65 6e |d thisCo|mmand.en|
|00002c40| 64 20 69 66 0d 65 6e 64 | 20 69 66 0d 0d 2d 2d 20 |d if.end| if..-- |
|00002c50| 6e 6f 74 20 75 73 65 64 | 20 2d 2d 20 69 66 20 77 |not used| -- if w|
|00002c60| 68 6f 73 43 61 6c 6c 69 | 6e 67 20 ad 20 22 6f 70 |hosCalli|ng . "op|
|00002c70| 65 6e 22 20 74 68 65 6e | 20 75 70 64 61 74 65 50 |en" then| updateP|
|00002c80| 61 67 65 43 6f 75 6e 74 | 0d 2d 2d 20 6e 6f 74 20 |ageCount|.-- not |
|00002c90| 75 73 65 64 20 2d 2d 20 | 70 75 74 4c 6f 63 61 74 |used -- |putLocat|
|00002ca0| 6f 72 20 6c 61 73 74 53 | 79 6e 63 68 20 20 2d 2d |or lastS|ynch --|
|00002cb0| 20 75 73 65 64 20 66 6f | 72 20 74 65 73 74 69 6e | used fo|r testin|
|00002cc0| 67 0d 65 6e 64 20 64 6f | 53 79 6e 63 68 0d 0d 6f |g.end do|Synch..o|
|00002cd0| 6e 20 67 65 74 54 65 78 | 74 20 66 6c 64 4e 61 6d |n getTex|t fldNam|
|00002ce0| 65 2c 77 68 69 63 68 0d | 69 66 20 77 68 69 63 68 |e,which.|if which|
|00002cf0| 20 3e 20 30 20 74 68 65 | 6e 0d 70 75 74 20 74 68 | > 0 the|n.put th|
|00002d00| 65 20 73 68 6f 72 74 20 | 6e 61 6d 65 20 6f 66 20 |e short |name of |
|00002d10| 74 68 69 73 20 63 61 72 | 64 20 69 6e 74 6f 20 63 |this car|d into c|
|00002d20| 61 72 64 4e 61 6d 65 0d | 69 66 20 77 68 69 63 68 |ardName.|if which|
|00002d30| 20 3c 20 31 30 20 74 68 | 65 6e 20 70 75 74 20 22 | < 10 th|en put "|
|00002d40| 30 22 20 62 65 66 6f 72 | 65 20 77 68 69 63 68 0d |0" befor|e which.|
|00002d50| 70 75 74 20 22 20 22 20 | 26 20 66 6c 64 4e 61 6d |put " " |& fldNam|
|00002d60| 65 20 26 20 77 68 69 63 | 68 20 61 66 74 65 72 20 |e & whic|h after |
|00002d70| 63 61 72 64 4e 61 6d 65 | 0d 69 66 20 74 68 65 72 |cardName|.if ther|
|00002d80| 65 20 69 73 20 61 20 63 | 61 72 64 20 63 61 72 64 |e is a c|ard card|
|00002d90| 4e 61 6d 65 20 74 68 65 | 6e 0d 70 75 74 20 62 67 |Name the|n.put bg|
|00002da0| 20 66 6c 64 20 66 6c 64 | 4e 61 6d 65 20 6f 66 20 | fld fld|Name of |
|00002db0| 63 64 20 63 61 72 64 4e | 61 6d 65 20 69 6e 74 6f |cd cardN|ame into|
|00002dc0| 20 62 67 20 66 6c 64 20 | 66 6c 64 4e 61 6d 65 0d | bg fld |fldName.|
|00002dd0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 65 6e |end if.e|nd if.en|
|00002de0| 64 20 67 65 74 54 65 78 | 74 0d 0d 66 75 6e 63 74 |d getTex|t..funct|
|00002df0| 69 6f 6e 20 66 65 74 63 | 68 4d 6f 76 69 65 53 74 |ion fetc|hMovieSt|
|00002e00| 6f 70 0d 67 6c 6f 62 61 | 6c 20 6c 61 73 74 53 79 |op.globa|l lastSy|
|00002e10| 6e 63 68 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |nch.repe|at with |
|00002e20| 69 20 3d 20 6c 61 73 74 | 53 79 6e 63 68 20 2b 20 |i = last|Synch + |
|00002e30| 31 20 74 6f 20 28 74 68 | 65 20 6e 75 6d 62 65 72 |1 to (th|e number|
|00002e40| 20 6f 66 20 6c 69 6e 65 | 73 20 6f 66 20 66 6c 64 | of line|s of fld|
|00002e50| 20 22 6d 79 54 72 69 67 | 67 65 72 73 22 29 0d 67 | "myTrig|gers").g|
|00002e60| 65 74 20 6c 69 6e 65 20 | 69 20 6f 66 20 66 6c 64 |et line |i of fld|
|00002e70| 20 22 6d 79 54 72 69 67 | 67 65 72 73 22 0d 69 66 | "myTrig|gers".if|
|00002e80| 20 69 74 20 63 6f 6e 74 | 61 69 6e 73 20 22 70 6c | it cont|ains "pl|
|00002e90| 61 79 4d 6f 76 69 65 53 | 6f 6c 6f 22 20 74 68 65 |ayMovieS|olo" the|
|00002ea0| 6e 0d 70 75 74 20 69 74 | 65 6d 20 38 20 6f 66 20 |n.put it|em 8 of |
|00002eb0| 77 6f 72 64 20 35 20 6f | 66 20 69 74 20 69 6e 74 |word 5 o|f it int|
|00002ec0| 6f 20 74 65 6d 70 0d 72 | 65 74 75 72 6e 20 74 65 |o temp.r|eturn te|
|00002ed0| 6d 70 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 72 65 |mp.end i|f.end re|
|00002ee0| 70 65 61 74 0d 65 6e 64 | 20 66 65 74 63 68 4d 6f |peat.end| fetchMo|
|00002ef0| 76 69 65 53 74 6f 70 0d | 0d 6f 6e 20 73 79 6e 63 |vieStop.|.on sync|
|00002f00| 68 4d 6f 76 69 65 20 6e | 65 77 4d 6f 76 69 65 4e |hMovie n|ewMovieN|
|00002f10| 75 6d 2c 20 72 65 73 75 | 6d 65 41 75 64 69 6f 46 |um, resu|meAudioF|
|00002f20| 6c 61 67 2c 20 74 68 69 | 73 53 63 72 6f 6c 6c 2c |lag, thi|sScroll,|
|00002f30| 20 6d 6f 76 69 65 4c 6f | 6e 67 65 72 0d 73 65 6e | movieLo|nger.sen|
|00002f40| 64 20 22 73 68 6f 77 4d | 6f 76 69 65 20 6e 65 77 |d "showM|ovie new|
|00002f50| 4d 6f 76 69 65 4e 75 6d | 2c 72 65 73 75 6d 65 41 |MovieNum|,resumeA|
|00002f60| 75 64 69 6f 46 6c 61 67 | 2c 20 74 68 69 73 53 63 |udioFlag|, thisSc|
|00002f70| 72 6f 6c 6c 2c 20 6d 6f | 76 69 65 4c 6f 6e 67 65 |roll, mo|vieLonge|
|00002f80| 72 22 20 74 6f 20 74 68 | 69 73 20 62 67 0d 65 6e |r" to th|is bg.en|
|00002f90| 64 20 73 79 6e 63 68 4d | 6f 76 69 65 0d 0d 6f 6e |d synchM|ovie..on|
|00002fa0| 20 64 69 73 70 6f 73 65 | 4f 6c 64 4d 6f 76 69 65 | dispose|OldMovie|
|00002fb0| 0d 67 6c 6f 62 61 6c 20 | 6f 6c 64 4d 6f 76 69 65 |.global |oldMovie|
|00002fc0| 0d 63 6c 6f 73 65 57 69 | 6e 64 6f 77 20 6f 6c 64 |.closeWi|ndow old|
|00002fd0| 4d 6f 76 69 65 0d 65 6e | 64 20 64 69 73 70 6f 73 |Movie.en|d dispos|
|00002fe0| 65 4f 6c 64 4d 6f 76 69 | 65 0d 0d 6f 6e 20 73 79 |eOldMovi|e..on sy|
|00002ff0| 6e 63 68 41 75 64 69 6f | 20 6e 65 77 41 75 64 69 |nchAudio| newAudi|
|00003000| 6f 4e 75 6d 2c 20 61 75 | 64 69 6f 46 72 61 6d 65 |oNum, au|dioFrame|
|00003010| 2c 20 61 75 64 69 6f 45 | 6e 64 46 72 61 6d 65 0d |, audioE|ndFrame.|
|00003020| 67 6c 6f 62 61 6c 20 63 | 75 72 72 65 6e 74 41 75 |global c|urrentAu|
|00003030| 64 69 6f 4e 75 6d 2c 20 | 63 75 72 72 65 6e 74 41 |dioNum, |currentA|
|00003040| 75 64 69 6f 2c 20 63 75 | 72 72 65 6e 74 41 75 64 |udio, cu|rrentAud|
|00003050| 69 6f 53 74 61 74 65 2c | 20 63 75 72 72 65 6e 74 |ioState,| current|
|00003060| 41 75 64 69 6f 54 79 70 | 65 0d 69 66 20 63 75 72 |AudioTyp|e.if cur|
|00003070| 72 65 6e 74 41 75 64 69 | 6f 4e 75 6d 20 ad 20 6e |rentAudi|oNum . n|
|00003080| 65 77 41 75 64 69 6f 4e | 75 6d 20 74 68 65 6e 0d |ewAudioN|um then.|
|00003090| 70 75 74 20 63 75 72 72 | 65 6e 74 41 75 64 69 6f |put curr|entAudio|
|000030a0| 20 69 6e 74 6f 20 64 65 | 61 64 41 75 64 69 6f 0d | into de|adAudio.|
|000030b0| 63 6c 6f 73 65 57 69 6e | 64 6f 77 20 64 65 61 64 |closeWin|dow dead|
|000030c0| 41 75 64 69 6f 0d 69 66 | 20 6e 65 77 41 75 64 69 |Audio.if| newAudi|
|000030d0| 6f 4e 75 6d 20 3e 20 30 | 20 74 68 65 6e 0d 70 75 |oNum > 0| then.pu|
|000030e0| 74 20 6c 69 6e 65 20 6e | 65 77 41 75 64 69 6f 4e |t line n|ewAudioN|
|000030f0| 75 6d 20 6f 66 20 62 67 | 20 66 6c 64 20 22 61 75 |um of bg| fld "au|
|00003100| 64 69 6f 73 22 20 69 6e | 74 6f 20 6e 65 77 41 75 |dios" in|to newAu|
|00003110| 64 69 6f 0d 69 6e 74 72 | 6f 41 75 64 69 6f 20 6e |dio.intr|oAudio n|
|00003120| 65 77 41 75 64 69 6f 0d | 70 75 74 20 6e 65 77 41 |ewAudio.|put newA|
|00003130| 75 64 69 6f 20 69 6e 74 | 6f 20 63 75 72 72 65 6e |udio int|o curren|
|00003140| 74 41 75 64 69 6f 0d 70 | 75 74 20 6e 65 77 41 75 |tAudio.p|ut newAu|
|00003150| 64 69 6f 4e 75 6d 20 69 | 6e 74 6f 20 63 75 72 72 |dioNum i|nto curr|
|00003160| 65 6e 74 41 75 64 69 6f | 4e 75 6d 0d 65 6c 73 65 |entAudio|Num.else|
|00003170| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00003180| 63 75 72 72 65 6e 74 41 | 75 64 69 6f 0d 70 75 74 |currentA|udio.put|
|00003190| 20 30 20 69 6e 74 6f 20 | 63 75 72 72 65 6e 74 41 | 0 into |currentA|
|000031a0| 75 64 69 6f 4e 75 6d 0d | 65 6e 64 20 69 66 0d 65 |udioNum.|end if.e|
|000031b0| 6e 64 20 69 66 0d 69 66 | 20 63 75 72 72 65 6e 74 |nd if.if| current|
|000031c0| 41 75 64 69 6f 20 69 73 | 20 6e 6f 74 20 65 6d 70 |Audio is| not emp|
|000031d0| 74 79 20 74 68 65 6e 0d | 2d 2d 20 73 65 74 20 74 |ty then.|-- set t|
|000031e0| 68 65 20 61 75 64 69 6f | 20 66 72 61 6d 65 20 6e |he audio| frame n|
|000031f0| 75 6d 62 65 72 0d 73 65 | 74 20 43 75 72 72 54 69 |umber.se|t CurrTi|
|00003200| 6d 65 20 6f 66 20 77 69 | 6e 64 6f 77 20 63 75 72 |me of wi|ndow cur|
|00003210| 72 65 6e 74 41 75 64 69 | 6f 20 74 6f 20 61 75 64 |rentAudi|o to aud|
|00003220| 69 6f 46 72 61 6d 65 0d | 70 75 74 20 22 70 61 75 |ioFrame.|put "pau|
|00003230| 73 65 22 20 69 6e 74 6f | 20 63 75 72 72 65 6e 74 |se" into| current|
|00003240| 41 75 64 69 6f 53 74 61 | 74 65 0d 2d 2d 20 74 68 |AudioSta|te.-- th|
|00003250| 65 20 6e 65 78 74 20 63 | 6f 6d 6d 61 6e 64 20 69 |e next c|ommand i|
|00003260| 73 20 61 20 73 79 6e 63 | 68 0d 2d 2d 20 6f 72 20 |s a sync|h.-- or |
|00003270| 74 68 65 20 6e 65 78 74 | 20 63 6f 6d 6d 61 6e 64 |the next| command|
|00003280| 20 61 6c 73 6f 20 77 61 | 6e 74 73 20 61 75 64 69 | also wa|nts audi|
|00003290| 6f 20 74 6f 20 73 74 6f | 70 0d 70 75 74 20 61 75 |o to sto|p.put au|
|000032a0| 64 69 6f 46 72 61 6d 65 | 20 69 6e 74 6f 20 73 74 |dioFrame| into st|
|000032b0| 61 72 74 46 72 61 6d 65 | 0d 0d 2d 2d 20 74 68 69 |artFrame|..-- thi|
|000032c0| 73 20 6f 72 64 65 72 20 | 28 65 6e 64 2c 63 75 72 |s order |(end,cur|
|000032d0| 72 2c 73 74 61 72 74 29 | 20 73 65 65 6d 73 20 74 |r,start)| seems t|
|000032e0| 6f 20 77 6f 72 6b 20 62 | 65 73 74 0d 73 65 74 20 |o work b|est.set |
|000032f0| 63 75 72 72 54 69 6d 65 | 20 6f 66 20 77 69 6e 64 |currTime| of wind|
|00003300| 6f 77 20 63 75 72 72 65 | 6e 74 41 75 64 69 6f 20 |ow curre|ntAudio |
|00003310| 74 6f 20 61 75 64 69 6f | 46 72 61 6d 65 0d 73 65 |to audio|Frame.se|
|00003320| 74 20 65 6e 64 54 69 6d | 65 20 6f 66 20 77 69 6e |t endTim|e of win|
|00003330| 64 6f 77 20 63 75 72 72 | 65 6e 74 41 75 64 69 6f |dow curr|entAudio|
|00003340| 20 74 6f 20 61 75 64 69 | 6f 45 6e 64 46 72 61 6d | to audi|oEndFram|
|00003350| 65 0d 73 65 74 20 73 74 | 61 72 74 54 69 6d 65 20 |e.set st|artTime |
|00003360| 6f 66 20 77 69 6e 64 6f | 77 20 63 75 72 72 65 6e |of windo|w curren|
|00003370| 74 41 75 64 69 6f 20 74 | 6f 20 73 74 61 72 74 46 |tAudio t|o startF|
|00003380| 72 61 6d 65 0d 2d 2d 20 | 73 65 6e 64 20 22 6c 6f |rame.-- |send "lo|
|00003390| 61 64 53 65 67 49 6e 74 | 6f 52 41 4d 22 20 74 6f |adSegInt|oRAM" to|
|000033a0| 20 77 69 6e 64 6f 77 20 | 63 75 72 72 65 6e 74 41 | window |currentA|
|000033b0| 75 64 69 6f 20 20 2d 2d | 20 54 6f 6f 6c 73 20 64 |udio --| Tools d|
|000033c0| 6f 6e 27 74 20 73 75 70 | 70 6f 72 74 0d 70 75 74 |on't sup|port.put|
|000033d0| 20 22 73 65 67 6d 65 6e | 74 22 20 69 6e 74 6f 20 | "segmen|t" into |
|000033e0| 63 75 72 72 65 6e 74 41 | 75 64 69 6f 54 79 70 65 |currentA|udioType|
|000033f0| 0d 65 6c 73 65 0d 6e 6f | 54 72 69 67 67 65 72 46 |.else.no|TriggerF|
|00003400| 72 61 6d 65 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |rame.end| if.end |
|00003410| 73 79 6e 63 68 41 75 64 | 69 6f 0d 0d 6f 6e 20 6e |synchAud|io..on n|
|00003420| 6f 74 68 69 6e 67 0d 2d | 2d 20 64 6f 20 6e 6f 74 |othing.-|- do not|
|00003430| 68 69 6e 67 20 2d 2d 20 | 64 65 66 61 75 6c 74 20 |hing -- |default |
|00003440| 66 6f 72 20 65 6e 64 20 | 6f 66 20 6d 6f 76 69 65 |for end |of movie|
|00003450| 0d 65 6e 64 20 6e 6f 74 | 68 69 6e 67 0d 0d 6f 6e |.end not|hing..on|
|00003460| 20 72 65 73 75 6d 65 41 | 75 64 69 6f 0d 67 6c 6f | resumeA|udio.glo|
|00003470| 62 61 6c 20 63 75 72 72 | 65 6e 74 41 75 64 69 6f |bal curr|entAudio|
|00003480| 2c 20 63 75 72 72 65 6e | 74 41 75 64 69 6f 53 74 |, curren|tAudioSt|
|00003490| 61 74 65 2c 20 63 75 72 | 72 65 6e 74 41 75 64 69 |ate, cur|rentAudi|
|000034a0| 6f 54 79 70 65 0d 67 6c | 6f 62 61 6c 20 63 75 72 |oType.gl|obal cur|
|000034b0| 72 65 6e 74 4d 6f 76 69 | 65 2c 20 63 75 72 72 65 |rentMovi|e, curre|
|000034c0| 6e 74 4d 6f 76 69 65 54 | 79 70 65 2c 20 74 72 69 |ntMovieT|ype, tri|
|000034d0| 67 67 65 72 4d 6f 76 69 | 65 53 74 61 74 65 0d 69 |ggerMovi|eState.i|
|000034e0| 66 20 67 65 74 42 75 74 | 74 6f 6e 53 74 61 74 75 |f getBut|tonStatu|
|000034f0| 73 28 31 30 29 20 74 68 | 65 6e 20 65 78 69 74 20 |s(10) th|en exit |
|00003500| 72 65 73 75 6d 65 41 75 | 64 69 6f 20 2d 2d 20 73 |resumeAu|dio -- s|
|00003510| 74 6f 70 20 62 75 74 74 | 6f 6e 20 69 73 20 64 6f |top butt|on is do|
|00003520| 77 6e 0d 69 66 20 74 68 | 65 20 76 69 73 69 62 6c |wn.if th|e visibl|
|00003530| 65 20 6f 66 20 62 67 20 | 62 74 6e 20 22 6d 6f 76 |e of bg |btn "mov|
|00003540| 69 65 50 6c 61 79 42 47 | 22 20 74 68 65 6e 20 73 |iePlayBG|" then s|
|00003550| 65 6e 64 20 22 68 69 64 | 65 4d 65 22 20 74 6f 20 |end "hid|eMe" to |
|00003560| 62 67 20 62 74 6e 20 22 | 6d 6f 76 69 65 50 6c 61 |bg btn "|moviePla|
|00003570| 79 42 47 22 0d 69 66 20 | 63 75 72 72 65 6e 74 41 |yBG".if |currentA|
|00003580| 75 64 69 6f 20 69 73 20 | 6e 6f 74 20 65 6d 70 74 |udio is |not empt|
|00003590| 79 20 74 68 65 6e 0d 70 | 75 74 20 22 70 6c 61 79 |y then.p|ut "play|
|000035a0| 22 20 69 6e 74 6f 20 63 | 75 72 72 65 6e 74 41 75 |" into c|urrentAu|
|000035b0| 64 69 6f 53 74 61 74 65 | 0d 0d 73 65 6e 64 20 22 |dioState|..send "|
|000035c0| 70 6c 61 79 22 20 74 6f | 20 77 69 6e 64 6f 77 20 |play" to| window |
|000035d0| 63 75 72 72 65 6e 74 41 | 75 64 69 6f 0d 0d 69 66 |currentA|udio..if|
|000035e0| 20 74 68 65 72 65 20 69 | 73 20 61 20 77 69 6e 64 | there i|s a wind|
|000035f0| 6f 77 20 63 75 72 72 65 | 6e 74 4d 6f 76 69 65 20 |ow curre|ntMovie |
|00003600| 61 6e 64 20 74 72 69 67 | 67 65 72 4d 6f 76 69 65 |and trig|gerMovie|
|00003610| 53 74 61 74 65 20 3d 20 | 22 70 6c 61 79 22 20 74 |State = |"play" t|
|00003620| 68 65 6e 0d 73 65 6e 64 | 20 22 70 6c 61 79 22 20 |hen.send| "play" |
|00003630| 74 6f 20 77 69 6e 64 6f | 77 20 63 75 72 72 65 6e |to windo|w curren|
|00003640| 74 4d 6f 76 69 65 0d 65 | 6e 64 20 69 66 0d 0d 65 |tMovie.e|nd if..e|
|00003650| 6c 73 65 0d 2d 2d 20 74 | 68 65 72 65 20 69 73 20 |lse.-- t|here is |
|00003660| 6e 6f 20 61 75 64 69 6f | 2c 20 74 68 65 72 65 20 |no audio|, there |
|00003670| 6d 75 73 74 20 62 65 20 | 61 20 6d 6f 76 69 65 0d |must be |a movie.|
|00003680| 69 66 20 74 68 65 72 65 | 20 69 73 20 61 20 77 69 |if there| is a wi|
|00003690| 6e 64 6f 77 20 63 75 72 | 72 65 6e 74 4d 6f 76 69 |ndow cur|rentMovi|
|000036a0| 65 20 61 6e 64 20 63 75 | 72 72 65 6e 74 4d 6f 76 |e and cu|rrentMov|
|000036b0| 69 65 54 79 70 65 20 3d | 20 22 4d 6f 6f 56 22 20 |ieType =| "MooV" |
|000036c0| 74 68 65 6e 0d 73 65 6e | 64 20 22 70 6c 61 79 22 |then.sen|d "play"|
|000036d0| 20 74 6f 20 77 69 6e 64 | 6f 77 20 63 75 72 72 65 | to wind|ow curre|
|000036e0| 6e 74 4d 6f 76 69 65 0d | 65 6e 64 20 69 66 0d 65 |ntMovie.|end if.e|
|000036f0| 6e 64 20 69 66 0d 70 75 | 74 20 22 70 6c 61 79 22 |nd if.pu|t "play"|
|00003700| 20 69 6e 74 6f 20 63 75 | 72 72 65 6e 74 41 75 64 | into cu|rrentAud|
|00003710| 69 6f 53 74 61 74 65 0d | 65 6e 64 20 72 65 73 75 |ioState.|end resu|
|00003720| 6d 65 41 75 64 69 6f 0d | 0d 6f 6e 20 70 6c 61 79 |meAudio.|.on play|
|00003730| 4d 6f 76 69 65 53 6f 6c | 6f 0d 64 69 73 70 6f 73 |MovieSol|o.dispos|
|00003740| 65 41 75 64 69 6f 20 20 | 2d 2d 20 69 6e 74 65 6e |eAudio |-- inten|
|00003750| 64 65 64 20 74 6f 20 72 | 65 64 75 63 65 20 6d 65 |ded to r|educe me|
|00003760| 6d 6f 72 79 20 72 65 71 | 75 69 72 65 6d 65 6e 74 |mory req|uirement|
|00003770| 73 3f 0d 70 6c 61 79 43 | 75 72 72 65 6e 74 4d 6f |s?.playC|urrentMo|
|00003780| 76 69 65 0d 65 6e 64 20 | 70 6c 61 79 4d 6f 76 69 |vie.end |playMovi|
|00003790| 65 53 6f 6c 6f 0d 0d 6f | 6e 20 70 6c 61 79 4c 6f |eSolo..o|n playLo|
|000037a0| 6e 67 53 6f 6c 6f 0d 64 | 69 73 70 6f 73 65 41 75 |ngSolo.d|isposeAu|
|000037b0| 64 69 6f 20 20 2d 2d 20 | 69 6e 74 65 6e 64 65 64 |dio -- |intended|
|000037c0| 20 74 6f 20 72 65 64 75 | 63 65 20 6d 65 6d 6f 72 | to redu|ce memor|
|000037d0| 79 20 72 65 71 75 69 72 | 65 6d 65 6e 74 73 3f 0d |y requir|ements?.|
|000037e0| 70 6c 61 79 43 75 72 72 | 65 6e 74 4d 6f 76 69 65 |playCurr|entMovie|
|000037f0| 0d 65 6e 64 20 70 6c 61 | 79 4c 6f 6e 67 53 6f 6c |.end pla|yLongSol|
|00003800| 6f 0d 0d 6f 6e 20 70 6c | 61 79 43 75 72 72 65 6e |o..on pl|ayCurren|
|00003810| 74 4d 6f 76 69 65 0d 67 | 6c 6f 62 61 6c 20 63 75 |tMovie.g|lobal cu|
|00003820| 72 72 65 6e 74 4d 6f 76 | 69 65 0d 2d 2d 20 6d 61 |rrentMov|ie.-- ma|
|00003830| 6b 65 20 73 75 72 65 20 | 6f 6e 65 20 70 6c 61 79 |ke sure |one play|
|00003840| 20 62 75 74 74 6f 6e 20 | 69 73 20 74 72 75 65 0d | button |is true.|
|00003850| 69 66 20 6e 6f 74 20 28 | 67 65 74 42 75 74 74 6f |if not (|getButto|
|00003860| 6e 53 74 61 74 75 73 28 | 39 29 20 6f 72 20 67 65 |nStatus(|9) or ge|
|00003870| 74 42 75 74 74 6f 6e 53 | 74 61 74 75 73 28 31 32 |tButtonS|tatus(12|
|00003880| 29 29 20 74 68 65 6e 20 | 65 78 69 74 20 70 6c 61 |)) then |exit pla|
|00003890| 79 43 75 72 72 65 6e 74 | 4d 6f 76 69 65 20 2d 2d |yCurrent|Movie --|
|000038a0| 20 73 74 6f 70 20 62 75 | 74 74 6f 6e 20 69 73 20 | stop bu|tton is |
|000038b0| 64 6f 77 6e 0d 73 65 6e | 64 20 22 70 6c 61 79 22 |down.sen|d "play"|
|000038c0| 20 74 6f 20 77 69 6e 64 | 6f 77 20 63 75 72 72 65 | to wind|ow curre|
|000038d0| 6e 74 4d 6f 76 69 65 0d | 65 6e 64 20 70 6c 61 79 |ntMovie.|end play|
|000038e0| 43 75 72 72 65 6e 74 4d | 6f 76 69 65 0d 0d 6f 6e |CurrentM|ovie..on|
|000038f0| 20 70 6c 61 79 43 75 72 | 72 65 6e 74 41 75 64 69 | playCur|rentAudi|
|00003900| 6f 0d 67 6c 6f 62 61 6c | 20 63 75 72 72 65 6e 74 |o.global| current|
|00003910| 41 75 64 69 6f 0d 2d 2d | 20 70 72 6f 6d 70 74 65 |Audio.--| prompte|
|00003920| 64 20 62 79 20 69 64 6c | 65 20 2d 20 61 6c 6c 6f |d by idl|e - allo|
|00003930| 77 73 20 6f 74 68 65 72 | 20 6d 65 73 73 61 67 65 |ws other| message|
|00003940| 73 20 73 65 6e 74 20 74 | 6f 20 61 75 64 69 6f 20 |s sent t|o audio |
|00003950| 74 6f 20 66 69 6e 69 73 | 68 0d 69 66 20 67 65 74 |to finis|h.if get|
|00003960| 42 75 74 74 6f 6e 53 74 | 61 74 75 73 28 31 30 29 |ButtonSt|atus(10)|
|00003970| 20 74 68 65 6e 20 65 78 | 69 74 20 70 6c 61 79 43 | then ex|it playC|
|00003980| 75 72 72 65 6e 74 41 75 | 64 69 6f 20 2d 2d 20 73 |urrentAu|dio -- s|
|00003990| 74 6f 70 20 62 75 74 74 | 6f 6e 20 69 73 20 64 6f |top butt|on is do|
|000039a0| 77 6e 0d 73 65 6e 64 20 | 22 70 6c 61 79 22 20 74 |wn.send |"play" t|
|000039b0| 6f 20 77 69 6e 64 6f 77 | 20 63 75 72 72 65 6e 74 |o window| current|
|000039c0| 41 75 64 69 6f 0d 65 6e | 64 20 70 6c 61 79 43 75 |Audio.en|d playCu|
|000039d0| 72 72 65 6e 74 41 75 64 | 69 6f 0d 0d 6f 6e 20 70 |rrentAud|io..on p|
|000039e0| 6c 61 79 4d 6f 76 69 65 | 43 6f 6e 63 75 72 72 65 |layMovie|Concurre|
|000039f0| 6e 74 0d 2d 2d 20 70 6c | 61 79 20 6e 6f 77 20 77 |nt.-- pl|ay now w|
|00003a00| 69 74 68 20 64 69 73 70 | 6f 73 65 20 61 74 20 65 |ith disp|ose at e|
|00003a10| 6e 64 0d 69 66 20 67 65 | 74 42 75 74 74 6f 6e 53 |nd.if ge|tButtonS|
|00003a20| 74 61 74 75 73 28 31 30 | 29 20 74 68 65 6e 20 65 |tatus(10|) then e|
|00003a30| 78 69 74 20 70 6c 61 79 | 4d 6f 76 69 65 43 6f 6e |xit play|MovieCon|
|00003a40| 63 75 72 72 65 6e 74 20 | 2d 2d 20 73 74 6f 70 20 |current |-- stop |
|00003a50| 62 75 74 74 6f 6e 20 69 | 73 20 64 6f 77 6e 0d 70 |button i|s down.p|
|00003a60| 6c 61 79 43 75 72 72 65 | 6e 74 4d 6f 76 69 65 0d |layCurre|ntMovie.|
|00003a70| 65 6e 64 20 70 6c 61 79 | 4d 6f 76 69 65 43 6f 6e |end play|MovieCon|
|00003a80| 63 75 72 72 65 6e 74 0d | 0d 6f 6e 20 73 68 6f 77 |current.|.on show|
|00003a90| 54 69 74 6c 65 0d 69 66 | 20 74 68 65 72 65 20 69 |Title.if| there i|
|00003aa0| 73 20 61 20 62 67 20 62 | 74 6e 20 22 74 69 74 6c |s a bg b|tn "titl|
|00003ab0| 65 44 69 73 70 6c 61 79 | 65 72 22 20 74 68 65 6e |eDisplay|er" then|
|00003ac0| 0d 68 69 64 65 20 62 67 | 20 66 6c 64 20 22 74 69 |.hide bg| fld "ti|
|00003ad0| 74 6c 65 22 0d 73 68 6f | 77 20 62 67 20 62 74 6e |tle".sho|w bg btn|
|00003ae0| 20 22 74 69 74 6c 65 44 | 69 73 70 6c 61 79 65 72 | "titleD|isplayer|
|00003af0| 22 0d 63 6f 6c 6f 72 69 | 7a 65 48 43 20 22 65 72 |".colori|zeHC "er|
|00003b00| 61 73 65 22 2c 74 68 65 | 20 72 65 63 74 20 6f 66 |ase",the| rect of|
|00003b10| 20 62 67 20 62 74 6e 20 | 22 74 69 74 6c 65 42 47 | bg btn |"titleBG|
|00003b20| 22 0d 68 69 64 65 20 62 | 67 20 62 74 6e 20 22 74 |".hide b|g btn "t|
|00003b30| 69 74 6c 65 44 69 73 70 | 6c 61 79 65 72 22 0d 73 |itleDisp|layer".s|
|00003b40| 68 6f 77 20 62 67 20 66 | 6c 64 20 22 74 69 74 6c |how bg f|ld "titl|
|00003b50| 65 22 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 73 68 |e".end i|f.end sh|
|00003b60| 6f 77 54 69 74 6c 65 0d | 0d 6f 6e 20 6d 6f 76 69 |owTitle.|.on movi|
|00003b70| 65 50 61 6e 65 6c 0d 63 | 6f 6c 6f 72 69 7a 65 48 |ePanel.c|olorizeH|
|00003b80| 43 20 22 41 64 64 22 2c | 22 6d 6f 76 69 65 50 61 |C "Add",|"moviePa|
|00003b90| 6e 65 6c 22 2c 28 74 68 | 65 20 72 65 63 74 20 6f |nel",(th|e rect o|
|00003ba0| 66 20 62 67 20 62 74 6e | 20 22 6d 6f 76 69 65 50 |f bg btn| "movieP|
|00003bb0| 61 6e 65 6c 22 29 0d 68 | 69 64 65 20 62 67 20 62 |anel").h|ide bg b|
|00003bc0| 74 6e 20 22 6d 6f 76 69 | 65 50 6c 61 79 42 47 22 |tn "movi|ePlayBG"|
|00003bd0| 0d 68 69 64 65 20 62 67 | 20 62 74 6e 20 22 6d 6f |.hide bg| btn "mo|
|00003be0| 76 69 65 50 6c 61 79 22 | 0d 68 69 64 65 20 62 67 |viePlay"|.hide bg|
|00003bf0| 20 62 74 6e 20 22 6d 6f | 76 69 65 53 74 6f 70 22 | btn "mo|vieStop"|
|00003c00| 0d 65 6e 64 20 6d 6f 76 | 69 65 50 61 6e 65 6c 0d |.end mov|iePanel.|
|00003c10| 0d 6f 6e 20 63 68 65 63 | 6b 42 61 63 6b 67 72 6f |.on chec|kBackgro|
|00003c20| 75 6e 64 0d 67 6c 6f 62 | 61 6c 20 6c 61 73 74 42 |und.glob|al lastB|
|00003c30| 47 0d 67 65 74 20 74 68 | 65 20 73 68 6f 72 74 20 |G.get th|e short |
|00003c40| 6e 61 6d 65 20 6f 66 20 | 74 68 69 73 20 62 61 63 |name of |this bac|
|00003c50| 6b 67 72 6f 75 6e 64 0d | 69 66 20 69 74 20 69 73 |kground.|if it is|
|00003c60| 20 6c 61 73 74 42 47 20 | 74 68 65 6e 0d 2d 2d 20 | lastBG |then.-- |
|00003c70| 64 6f 20 6e 6f 74 68 69 | 6e 67 20 2d 20 62 61 63 |do nothi|ng - bac|
|00003c80| 6b 67 72 6f 75 6e 64 20 | 69 73 20 61 6c 72 65 61 |kground |is alrea|
|00003c90| 64 79 20 73 68 6f 77 69 | 6e 67 0d 65 6c 73 65 0d |dy showi|ng.else.|
|00003ca0| 70 75 74 20 69 74 20 69 | 6e 74 6f 20 6c 61 73 74 |put it i|nto last|
|00003cb0| 42 47 0d 73 65 6e 64 20 | 22 73 68 6f 77 42 61 63 |BG.send |"showBac|
|00003cc0| 6b 67 72 6f 75 6e 64 22 | 20 74 6f 20 74 68 69 73 |kground"| to this|
|00003cd0| 20 62 67 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 63 | bg.end |if.end c|
|00003ce0| 68 65 63 6b 42 61 63 6b | 67 72 6f 75 6e 64 0d 0d |heckBack|ground..|
|00003cf0| 6f 6e 20 73 68 6f 77 42 | 61 63 6b 67 72 6f 75 6e |on showB|ackgroun|
|00003d00| 64 0d 2d 2d 20 64 65 66 | 61 75 6c 74 20 2d 20 64 |d.-- def|ault - d|
|00003d10| 6f 20 6e 6f 74 68 69 6e | 67 0d 65 6e 64 20 73 68 |o nothin|g.end sh|
|00003d20| 6f 77 42 61 63 6b 67 72 | 6f 75 6e 64 0d 0d 6f 6e |owBackgr|ound..on|
|00003d30| 20 73 68 6f 77 50 72 6f | 67 72 65 73 73 20 70 72 | showPro|gress pr|
|00003d40| 6f 67 72 65 73 73 56 61 | 6c 75 65 0d 67 6c 6f 62 |ogressVa|lue.glob|
|00003d50| 61 6c 20 70 61 74 68 4e | 61 6d 65 0d 67 6c 6f 62 |al pathN|ame.glob|
|00003d60| 61 6c 20 74 6f 74 61 6c | 44 75 72 61 74 69 6f 6e |al total|Duration|
|00003d70| 2c 20 70 72 6f 67 52 65 | 63 74 2c 20 74 6f 67 6f |, progRe|ct, togo|
|00003d80| 52 65 63 74 2c 20 70 72 | 6f 67 57 69 64 74 68 2c |Rect, pr|ogWidth,|
|00003d90| 20 70 72 6f 67 54 6f 70 | 4c 65 66 74 0d 67 6c 6f | progTop|Left.glo|
|00003da0| 62 61 6c 20 61 75 64 69 | 6f 44 75 72 61 74 69 6f |bal audi|oDuratio|
|00003db0| 6e 2c 20 63 75 72 72 65 | 6e 74 41 75 64 69 6f 0d |n, curre|ntAudio.|
|00003dc0| 69 66 20 70 72 6f 67 72 | 65 73 73 56 61 6c 75 65 |if progr|essValue|
|00003dd0| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 0d 69 | is empt|y then.i|
|00003de0| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 77 69 6e |f there |is a win|
|00003df0| 64 6f 77 20 63 75 72 72 | 65 6e 74 41 75 64 69 6f |dow curr|entAudio|
|00003e00| 20 74 68 65 6e 0d 2d 2d | 20 74 68 69 73 20 69 73 | then.--| this is|
|00003e10| 20 66 6f 72 20 77 65 6c | 63 6f 6d 65 2c 20 69 6e | for wel|come, in|
|00003e20| 74 72 6f 20 61 6e 64 20 | 68 65 6c 70 0d 70 75 74 |tro and |help.put|
|00003e30| 20 74 68 65 20 63 75 72 | 72 54 69 6d 65 20 6f 66 | the cur|rTime of|
|00003e40| 20 77 69 6e 64 6f 77 20 | 63 75 72 72 65 6e 74 41 | window |currentA|
|00003e50| 75 64 69 6f 20 69 6e 74 | 6f 20 70 72 6f 67 72 65 |udio int|o progre|
|00003e60| 73 73 56 61 6c 75 65 0d | 65 6c 73 65 0d 65 78 69 |ssValue.|else.exi|
|00003e70| 74 20 73 68 6f 77 50 72 | 6f 67 72 65 73 73 0d 65 |t showPr|ogress.e|
|00003e80| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 70 75 74 |nd if.en|d if.put|
|00003e90| 20 74 72 75 6e 63 28 20 | 28 70 72 6f 67 72 65 73 | trunc( |(progres|
|00003ea0| 73 56 61 6c 75 65 29 20 | 2a 20 70 72 6f 67 57 69 |sValue) |* progWi|
|00003eb0| 64 74 68 20 2f 20 74 6f | 74 61 6c 44 75 72 61 74 |dth / to|talDurat|
|00003ec0| 69 6f 6e 29 20 69 6e 74 | 6f 20 63 75 72 72 65 6e |ion) int|o curren|
|00003ed0| 74 57 69 64 74 68 0d 69 | 66 20 63 75 72 72 65 6e |tWidth.i|f curren|
|00003ee0| 74 57 69 64 74 68 20 3e | 20 70 72 6f 67 57 69 64 |tWidth >| progWid|
|00003ef0| 74 68 20 74 68 65 6e 20 | 70 75 74 20 70 72 6f 67 |th then |put prog|
|00003f00| 57 69 64 74 68 20 69 6e | 74 6f 20 63 75 72 72 65 |Width in|to curre|
|00003f10| 6e 74 57 69 64 74 68 0d | 70 75 74 20 69 74 65 6d |ntWidth.|put item|
|00003f20| 20 31 20 6f 66 20 70 72 | 6f 67 52 65 63 74 20 2b | 1 of pr|ogRect +|
|00003f30| 20 63 75 72 72 65 6e 74 | 57 69 64 74 68 20 69 6e | current|Width in|
|00003f40| 74 6f 20 69 74 65 6d 20 | 33 20 6f 66 20 70 72 6f |to item |3 of pro|
|00003f50| 67 52 65 63 74 0d 70 75 | 74 20 69 74 65 6d 20 33 |gRect.pu|t item 3|
|00003f60| 20 6f 66 20 74 6f 67 6f | 52 65 63 74 20 2d 20 70 | of togo|Rect - p|
|00003f70| 72 6f 67 57 69 64 74 68 | 20 2b 20 63 75 72 72 65 |rogWidth| + curre|
|00003f80| 6e 74 57 69 64 74 68 20 | 69 6e 74 6f 20 69 74 65 |ntWidth |into ite|
|00003f90| 6d 20 31 20 6f 66 20 74 | 6f 67 6f 52 65 63 74 0d |m 1 of t|ogoRect.|
|00003fa0| 69 66 20 69 74 65 6d 20 | 31 20 6f 66 20 70 72 6f |if item |1 of pro|
|00003fb0| 67 52 65 63 74 20 ad 20 | 69 74 65 6d 20 33 20 6f |gRect . |item 3 o|
|00003fc0| 66 20 70 72 6f 67 52 65 | 63 74 20 74 68 65 6e 0d |f progRe|ct then.|
|00003fd0| 2d 2d 20 6f 6e 6c 79 20 | 64 72 61 77 20 69 74 20 |-- only |draw it |
|00003fe0| 69 66 20 69 74 20 6e 65 | 65 64 73 20 74 6f 20 62 |if it ne|eds to b|
|00003ff0| 65 20 64 72 61 77 6e 0d | 51 54 50 69 63 74 20 22 |e drawn.|QTPict "|
|00004000| 64 69 73 70 6c 61 79 50 | 69 63 74 22 2c 22 70 72 |displayP|ict","pr|
|00004010| 6f 67 72 65 73 73 50 69 | 63 74 22 2c 70 72 6f 67 |ogressPi|ct",prog|
|00004020| 52 65 63 74 2c 22 72 65 | 73 6f 75 72 63 65 22 0d |Rect,"re|source".|
|00004030| 63 6f 6c 6f 72 69 7a 65 | 48 43 20 22 41 64 64 22 |colorize|HC "Add"|
|00004040| 2c 22 70 72 6f 67 72 65 | 73 73 50 69 63 74 22 2c |,"progre|ssPict",|
|00004050| 70 72 6f 67 54 6f 70 4c | 65 66 74 2c 70 72 6f 67 |progTopL|eft,prog|
|00004060| 52 65 63 74 0d 65 6e 64 | 20 69 66 0d 69 66 20 69 |Rect.end| if.if i|
|00004070| 74 65 6d 20 31 20 6f 66 | 20 74 6f 67 6f 52 65 63 |tem 1 of| togoRec|
|00004080| 74 20 ad 20 69 74 65 6d | 20 33 20 6f 66 20 74 6f |t . item| 3 of to|
|00004090| 67 6f 52 65 63 74 20 74 | 68 65 6e 0d 51 54 50 69 |goRect t|hen.QTPi|
|000040a0| 63 74 20 22 64 69 73 70 | 6c 61 79 50 69 63 74 22 |ct "disp|layPict"|
|000040b0| 2c 22 74 6f 67 6f 50 69 | 63 74 22 2c 74 6f 67 6f |,"togoPi|ct",togo|
|000040c0| 52 65 63 74 2c 22 72 65 | 73 6f 75 72 63 65 22 0d |Rect,"re|source".|
|000040d0| 63 6f 6c 6f 72 69 7a 65 | 48 43 20 22 41 64 64 22 |colorize|HC "Add"|
|000040e0| 2c 22 74 6f 67 6f 50 69 | 63 74 22 2c 70 72 6f 67 |,"togoPi|ct",prog|
|000040f0| 54 6f 70 4c 65 66 74 2c | 74 6f 67 6f 52 65 63 74 |TopLeft,|togoRect|
|00004100| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 73 68 6f 77 |.end if.|end show|
|00004110| 50 72 6f 67 72 65 73 73 | 0d 0d 6f 6e 20 73 68 6f |Progress|..on sho|
|00004120| 77 50 72 6f 67 72 65 73 | 73 44 6f 6e 65 0d 67 6c |wProgres|sDone.gl|
|00004130| 6f 62 61 6c 20 70 61 74 | 68 4e 61 6d 65 2c 70 72 |obal pat|hName,pr|
|00004140| 6f 67 52 65 63 74 2c 70 | 72 6f 67 57 69 64 74 68 |ogRect,p|rogWidth|
|00004150| 2c 70 72 6f 67 54 6f 70 | 4c 65 66 74 0d 69 66 20 |,progTop|Left.if |
|00004160| 70 72 6f 67 54 6f 70 4c | 65 66 74 20 69 73 20 6e |progTopL|eft is n|
|00004170| 6f 74 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 70 75 |ot empty| then.pu|
|00004180| 74 20 69 74 65 6d 20 31 | 20 6f 66 20 70 72 6f 67 |t item 1| of prog|
|00004190| 52 65 63 74 20 2b 20 70 | 72 6f 67 57 69 64 74 68 |Rect + p|rogWidth|
|000041a0| 20 69 6e 74 6f 20 69 74 | 65 6d 20 33 20 6f 66 20 | into it|em 3 of |
|000041b0| 70 72 6f 67 52 65 63 74 | 0d 51 54 50 69 63 74 20 |progRect|.QTPict |
|000041c0| 22 64 69 73 70 6c 61 79 | 50 69 63 74 22 2c 22 70 |"display|Pict","p|
|000041d0| 72 6f 67 72 65 73 73 50 | 69 63 74 22 2c 70 72 6f |rogressP|ict",pro|
|000041e0| 67 52 65 63 74 2c 22 72 | 65 73 6f 75 72 63 65 22 |gRect,"r|esource"|
|000041f0| 0d 63 6f 6c 6f 72 69 7a | 65 48 43 20 22 41 64 64 |.coloriz|eHC "Add|
|00004200| 22 2c 22 70 72 6f 67 72 | 65 73 73 50 69 63 74 22 |","progr|essPict"|
|00004210| 2c 70 72 6f 67 54 6f 70 | 4c 65 66 74 2c 70 72 6f |,progTop|Left,pro|
|00004220| 67 52 65 63 74 0d 65 6e | 64 20 69 66 0d 65 6e 64 |gRect.en|d if.end|
|00004230| 20 73 68 6f 77 50 72 6f | 67 72 65 73 73 44 6f 6e | showPro|gressDon|
|00004240| 65 0d 0d 6f 6e 20 69 6e | 69 74 53 63 72 6f 6c 6c |e..on in|itScroll|
|00004250| 56 61 6c 75 65 73 0d 67 | 6c 6f 62 61 6c 20 74 6f |Values.g|lobal to|
|00004260| 74 61 6c 44 75 72 61 74 | 69 6f 6e 2c 20 70 72 6f |talDurat|ion, pro|
|00004270| 67 52 65 63 74 2c 20 74 | 6f 67 6f 52 65 63 74 2c |gRect, t|ogoRect,|
|00004280| 20 70 72 6f 67 57 69 64 | 74 68 2c 20 70 72 6f 67 | progWid|th, prog|
|00004290| 54 6f 70 4c 65 66 74 0d | 70 75 74 20 62 67 20 66 |TopLeft.|put bg f|
|000042a0| 6c 64 20 22 74 6f 74 61 | 6c 44 75 72 61 74 69 6f |ld "tota|lDuratio|
|000042b0| 6e 22 20 69 6e 74 6f 20 | 74 6f 74 61 6c 44 75 72 |n" into |totalDur|
|000042c0| 61 74 69 6f 6e 0d 70 75 | 74 20 74 68 65 20 72 65 |ation.pu|t the re|
|000042d0| 63 74 20 6f 66 20 62 67 | 20 62 74 6e 20 22 70 72 |ct of bg| btn "pr|
|000042e0| 6f 67 72 65 73 73 22 20 | 69 6e 74 6f 20 70 72 6f |ogress" |into pro|
|000042f0| 67 52 65 63 74 0d 70 75 | 74 20 74 68 65 20 74 6f |gRect.pu|t the to|
|00004300| 70 4c 65 66 74 20 6f 66 | 20 62 67 20 62 74 6e 20 |pLeft of| bg btn |
|00004310| 22 70 72 6f 67 72 65 73 | 73 22 20 69 6e 74 6f 20 |"progres|s" into |
|00004320| 70 72 6f 67 54 6f 70 4c | 65 66 74 0d 70 75 74 20 |progTopL|eft.put |
|00004330| 70 72 6f 67 52 65 63 74 | 20 69 6e 74 6f 20 74 6f |progRect| into to|
|00004340| 67 6f 52 65 63 74 0d 70 | 75 74 20 69 74 65 6d 20 |goRect.p|ut item |
|00004350| 33 20 6f 66 20 70 72 6f | 67 52 65 63 74 20 2d 20 |3 of pro|gRect - |
|00004360| 69 74 65 6d 20 31 20 6f | 66 20 70 72 6f 67 52 65 |item 1 o|f progRe|
|00004370| 63 74 20 69 6e 74 6f 20 | 70 72 6f 67 57 69 64 74 |ct into |progWidt|
|00004380| 68 0d 70 75 74 20 69 74 | 65 6d 20 31 20 6f 66 20 |h.put it|em 1 of |
|00004390| 70 72 6f 67 52 65 63 74 | 20 69 6e 74 6f 20 69 74 |progRect| into it|
|000043a0| 65 6d 20 33 20 6f 66 20 | 70 72 6f 67 52 65 63 74 |em 3 of |progRect|
|000043b0| 20 20 2d 2d 20 6e 6f 20 | 70 72 6f 67 72 65 73 73 | -- no |progress|
|000043c0| 20 79 65 74 0d 70 75 74 | 20 69 74 65 6d 20 33 20 | yet.put| item 3 |
|000043d0| 6f 66 20 74 6f 67 6f 52 | 65 63 74 20 69 6e 74 6f |of togoR|ect into|
|000043e0| 20 69 74 65 6d 20 31 20 | 6f 66 20 74 6f 67 6f 52 | item 1 |of togoR|
|000043f0| 65 63 74 20 20 2d 2d 20 | 6e 6f 20 70 72 6f 67 72 |ect -- |no progr|
|00004400| 65 73 73 20 79 65 74 0d | 65 6e 64 20 69 6e 69 74 |ess yet.|end init|
|00004410| 53 63 72 6f 6c 6c 56 61 | 6c 75 65 73 0d 0d 6f 6e |ScrollVa|lues..on|
|00004420| 20 74 6f 67 67 6c 65 48 | 69 6c 69 74 65 20 62 74 | toggleH|ilite bt|
|00004430| 6e 4e 61 6d 65 2c 73 74 | 61 74 75 73 4e 75 6d 62 |nName,st|atusNumb|
|00004440| 65 72 2c 6f 6e 44 6f 77 | 6e 2c 6f 6e 55 70 2c 6f |er,onDow|n,onUp,o|
|00004450| 6e 4f 75 74 73 69 64 65 | 0d 73 68 6f 77 4d 79 48 |nOutside|.showMyH|
|00004460| 69 6c 69 74 65 20 28 62 | 74 6e 4e 61 6d 65 26 22 |ilite (b|tnName&"|
|00004470| 44 6f 77 6e 22 29 2c 74 | 72 75 65 0d 77 61 69 74 |Down"),t|rue.wait|
|00004480| 20 75 6e 74 69 6c 20 74 | 68 65 20 6d 6f 75 73 65 | until t|he mouse|
|00004490| 20 69 73 20 75 70 0d 70 | 75 74 20 67 65 74 42 75 | is up.p|ut getBu|
|000044a0| 74 74 6f 6e 53 74 61 74 | 75 73 28 73 74 61 74 75 |ttonStat|us(statu|
|000044b0| 73 4e 75 6d 62 65 72 29 | 20 69 6e 74 6f 20 6d 79 |sNumber)| into my|
|000044c0| 48 69 6c 69 74 65 0d 69 | 66 20 74 68 65 20 6d 6f |Hilite.i|f the mo|
|000044d0| 75 73 65 4c 6f 63 20 69 | 73 20 77 69 74 68 69 6e |useLoc i|s within|
|000044e0| 20 74 68 65 20 72 65 63 | 74 20 6f 66 20 74 68 65 | the rec|t of the|
|000044f0| 20 74 61 72 67 65 74 20 | 74 68 65 6e 0d 2d 2d 20 | target |then.-- |
|00004500| 74 6f 67 67 6c 65 20 74 | 68 65 20 62 75 74 74 6f |toggle t|he butto|
|00004510| 6e 0d 69 66 20 6d 79 48 | 69 6c 69 74 65 20 74 68 |n.if myH|ilite th|
|00004520| 65 6e 0d 2d 2d 20 62 75 | 74 74 6f 6e 20 69 73 20 |en.-- bu|tton is |
|00004530| 6f 6e 20 2d 20 74 75 72 | 6e 20 69 74 20 6f 66 66 |on - tur|n it off|
|00004540| 0d 73 68 6f 77 4d 79 48 | 69 6c 69 74 65 20 28 62 |.showMyH|ilite (b|
|00004550| 74 6e 4e 61 6d 65 26 22 | 55 70 22 29 0d 73 65 74 |tnName&"|Up").set|
|00004560| 42 75 74 74 6f 6e 53 74 | 61 74 75 73 20 73 74 61 |ButtonSt|atus sta|
|00004570| 74 75 73 4e 75 6d 62 65 | 72 2c 66 61 6c 73 65 0d |tusNumbe|r,false.|
|00004580| 73 65 6e 64 20 6f 6e 55 | 70 20 74 6f 20 74 68 65 |send onU|p to the|
|00004590| 20 74 61 72 67 65 74 0d | 65 6c 73 65 0d 2d 2d 20 | target.|else.-- |
|000045a0| 62 75 74 74 6f 6e 20 69 | 73 20 6f 66 66 20 2d 20 |button i|s off - |
|000045b0| 74 75 72 6e 20 69 74 20 | 6f 6e 0d 73 68 6f 77 4d |turn it |on.showM|
|000045c0| 79 48 69 6c 69 74 65 20 | 28 62 74 6e 4e 61 6d 65 |yHilite |(btnName|
|000045d0| 26 22 4f 6e 22 29 0d 73 | 65 74 42 75 74 74 6f 6e |&"On").s|etButton|
|000045e0| 53 74 61 74 75 73 20 73 | 74 61 74 75 73 4e 75 6d |Status s|tatusNum|
|000045f0| 62 65 72 2c 74 72 75 65 | 0d 73 65 6e 64 20 6f 6e |ber,true|.send on|
|00004600| 44 6f 77 6e 20 74 6f 20 | 74 68 65 20 74 61 72 67 |Down to |the targ|
|00004610| 65 74 0d 65 6e 64 20 69 | 66 0d 65 6c 73 65 0d 2d |et.end i|f.else.-|
|00004620| 2d 20 74 68 65 20 6d 6f | 75 73 65 20 77 61 73 20 |- the mo|use was |
|00004630| 72 65 6c 65 61 73 65 64 | 20 6f 75 74 73 69 64 65 |released| outside|
|00004640| 20 74 68 65 20 62 75 74 | 74 6f 6e 0d 2d 2d 20 72 | the but|ton.-- r|
|00004650| 65 73 65 74 20 69 74 20 | 74 6f 20 74 68 65 20 70 |eset it |to the p|
|00004660| 69 63 74 75 72 65 20 69 | 74 20 68 61 64 20 62 65 |icture i|t had be|
|00004670| 66 6f 72 65 0d 69 66 20 | 6d 79 48 69 6c 69 74 65 |fore.if |myHilite|
|00004680| 20 74 68 65 6e 0d 2d 2d | 20 62 75 74 74 6f 6e 20 | then.--| button |
|00004690| 69 73 20 6f 6e 0d 73 68 | 6f 77 4d 79 48 69 6c 69 |is on.sh|owMyHili|
|000046a0| 74 65 20 28 62 74 6e 4e | 61 6d 65 26 22 4f 6e 22 |te (btnN|ame&"On"|
|000046b0| 29 2c 74 72 75 65 0d 65 | 6c 73 65 0d 2d 2d 20 62 |),true.e|lse.-- b|
|000046c0| 75 74 74 6f 6e 20 69 73 | 20 6f 66 66 0d 73 68 6f |utton is| off.sho|
|000046d0| 77 4d 79 48 69 6c 69 74 | 65 20 28 62 74 6e 4e 61 |wMyHilit|e (btnNa|
|000046e0| 6d 65 26 22 55 70 22 29 | 2c 74 72 75 65 0d 65 6e |me&"Up")|,true.en|
|000046f0| 64 20 69 66 0d 69 66 20 | 6f 6e 4f 75 74 73 69 64 |d if.if |onOutsid|
|00004700| 65 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 20 74 |e is not| empty t|
|00004710| 68 65 6e 20 73 65 6e 64 | 20 6f 6e 4f 75 74 73 69 |hen send| onOutsi|
|00004720| 64 65 20 74 6f 20 74 68 | 69 73 20 63 61 72 64 0d |de to th|is card.|
|00004730| 65 6e 64 20 69 66 0d 65 | 6e 64 20 74 6f 67 67 6c |end if.e|nd toggl|
|00004740| 65 48 69 6c 69 74 65 0d | 0d 6f 6e 20 74 70 49 6e |eHilite.|.on tpIn|
|00004750| 73 74 61 6e 74 20 62 74 | 6e 4e 61 6d 65 0d 69 66 |stant bt|nName.if|
|00004760| 20 62 74 6e 4e 61 6d 65 | 20 69 73 20 65 6d 70 74 | btnName| is empt|
|00004770| 79 20 74 68 65 6e 0d 70 | 75 74 20 74 68 65 20 73 |y then.p|ut the s|
|00004780| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 74 68 65 |hort nam|e of the|
|00004790| 20 74 61 72 67 65 74 20 | 69 6e 74 6f 20 62 74 6e | target |into btn|
|000047a0| 4e 61 6d 65 0d 65 6e 64 | 20 69 66 0d 73 68 6f 77 |Name.end| if.show|
|000047b0| 4d 79 48 69 6c 69 74 65 | 20 28 62 74 6e 4e 61 6d |MyHilite| (btnNam|
|000047c0| 65 26 22 44 6f 77 6e 22 | 29 2c 74 72 75 65 0d 65 |e&"Down"|),true.e|
|000047d0| 6e 64 20 74 70 49 6e 73 | 74 61 6e 74 0d 0d 6f 6e |nd tpIns|tant..on|
|000047e0| 20 74 6f 67 67 6c 65 50 | 61 6e 65 6c 20 62 74 6e | toggleP|anel btn|
|000047f0| 4e 61 6d 65 2c 6d 79 54 | 61 73 6b 2c 6d 79 4f 70 |Name,myT|ask,myOp|
|00004800| 70 6f 73 69 74 65 2c 6d | 79 4e 75 6d 2c 6d 79 4f |posite,m|yNum,myO|
|00004810| 70 70 6f 73 69 74 65 4e | 75 6d 0d 73 68 6f 77 4d |ppositeN|um.showM|
|00004820| 79 48 69 6c 69 74 65 20 | 28 62 74 6e 4e 61 6d 65 |yHilite |(btnName|
|00004830| 26 22 44 6f 77 6e 22 29 | 2c 74 72 75 65 0d 70 75 |&"Down")|,true.pu|
|00004840| 74 20 67 65 74 42 75 74 | 74 6f 6e 53 74 61 74 75 |t getBut|tonStatu|
|00004850| 73 28 6d 79 4e 75 6d 29 | 20 69 6e 74 6f 20 6d 79 |s(myNum)| into my|
|00004860| 53 74 61 74 65 0d 69 66 | 20 6d 79 4f 70 70 6f 73 |State.if| myOppos|
|00004870| 69 74 65 20 69 73 20 6e | 6f 74 20 65 6d 70 74 79 |ite is n|ot empty|
|00004880| 20 74 68 65 6e 0d 2d 2d | 20 70 75 74 20 74 68 65 | then.--| put the|
|00004890| 20 6f 70 70 6f 73 69 74 | 65 20 62 75 74 74 6f 6e | opposit|e button|
|000048a0| 20 75 70 20 28 70 6c 61 | 79 2f 73 74 6f 70 29 0d | up (pla|y/stop).|
|000048b0| 73 68 6f 77 48 69 6c 69 | 74 65 20 6d 79 4f 70 70 |showHili|te myOpp|
|000048c0| 6f 73 69 74 65 2c 28 6d | 79 4f 70 70 6f 73 69 74 |osite,(m|yOpposit|
|000048d0| 65 26 22 55 70 22 29 0d | 73 65 74 42 75 74 74 6f |e&"Up").|setButto|
|000048e0| 6e 53 74 61 74 75 73 20 | 6d 79 4e 75 6d 2c 74 72 |nStatus |myNum,tr|
|000048f0| 75 65 0d 73 65 74 42 75 | 74 74 6f 6e 53 74 61 74 |ue.setBu|ttonStat|
|00004900| 75 73 20 6d 79 4f 70 70 | 6f 73 69 74 65 4e 75 6d |us myOpp|ositeNum|
|00004910| 2c 66 61 6c 73 65 0d 65 | 6e 64 20 69 66 0d 77 61 |,false.e|nd if.wa|
|00004920| 69 74 20 75 6e 74 69 6c | 20 74 68 65 20 6d 6f 75 |it until| the mou|
|00004930| 73 65 20 69 73 20 75 70 | 0d 69 66 20 74 68 65 20 |se is up|.if the |
|00004940| 6d 6f 75 73 65 4c 6f 63 | 20 69 73 20 77 69 74 68 |mouseLoc| is with|
|00004950| 69 6e 20 74 68 65 20 72 | 65 63 74 20 6f 66 20 74 |in the r|ect of t|
|00004960| 68 65 20 74 61 72 67 65 | 74 20 74 68 65 6e 0d 73 |he targe|t then.s|
|00004970| 68 6f 77 4d 79 48 69 6c | 69 74 65 20 28 62 74 6e |howMyHil|ite (btn|
|00004980| 4e 61 6d 65 26 22 4f 6e | 22 29 0d 73 65 6e 64 20 |Name&"On|").send |
|00004990| 6d 79 54 61 73 6b 20 74 | 6f 20 74 68 69 73 20 63 |myTask t|o this c|
|000049a0| 61 72 64 0d 65 6c 73 65 | 0d 2d 2d 20 6d 6f 75 73 |ard.else|.-- mous|
|000049b0| 65 20 77 61 73 20 72 65 | 6c 65 61 73 65 64 20 6f |e was re|leased o|
|000049c0| 75 74 73 69 64 65 20 74 | 68 65 20 74 61 72 67 65 |utside t|he targe|
|000049d0| 74 0d 69 66 20 6d 79 4f | 70 70 6f 73 69 74 65 20 |t.if myO|pposite |
|000049e0| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 20 74 68 65 |is not e|mpty the|
|000049f0| 6e 0d 69 66 20 6d 79 53 | 74 61 74 65 20 74 68 65 |n.if myS|tate the|
|00004a00| 6e 20 2d 2d 20 74 68 69 | 73 20 62 75 74 74 6f 6e |n -- thi|s button|
|00004a10| 20 77 61 73 20 61 6c 72 | 65 61 64 79 20 6f 6e 0d | was alr|eady on.|
|00004a20| 73 68 6f 77 4d 79 48 69 | 6c 69 74 65 20 28 62 74 |showMyHi|lite (bt|
|00004a30| 6e 4e 61 6d 65 26 22 4f | 6e 22 29 2c 74 72 75 65 |nName&"O|n"),true|
|00004a40| 0d 65 6c 73 65 20 20 2d | 2d 20 74 68 65 20 6f 70 |.else -|- the op|
|00004a50| 70 6f 73 69 74 65 20 62 | 75 74 74 6f 6e 20 77 61 |posite b|utton wa|
|00004a60| 73 20 6f 6e 20 62 65 66 | 6f 72 65 0d 73 68 6f 77 |s on bef|ore.show|
|00004a70| 4d 79 48 69 6c 69 74 65 | 20 28 62 74 6e 4e 61 6d |MyHilite| (btnNam|
|00004a80| 65 26 22 55 70 22 29 2c | 74 72 75 65 0d 73 68 6f |e&"Up"),|true.sho|
|00004a90| 77 48 69 6c 69 74 65 20 | 6d 79 4f 70 70 6f 73 69 |wHilite |myOpposi|
|00004aa0| 74 65 2c 28 6d 79 4f 70 | 70 6f 73 69 74 65 26 22 |te,(myOp|posite&"|
|00004ab0| 4f 6e 22 29 0d 73 65 74 | 42 75 74 74 6f 6e 53 74 |On").set|ButtonSt|
|00004ac0| 61 74 75 73 20 6d 79 4e | 75 6d 2c 66 61 6c 73 65 |atus myN|um,false|
|00004ad0| 0d 73 65 74 42 75 74 74 | 6f 6e 53 74 61 74 75 73 |.setButt|onStatus|
|00004ae0| 20 6d 79 4f 70 70 6f 73 | 69 74 65 4e 75 6d 2c 74 | myOppos|iteNum,t|
|00004af0| 72 75 65 0d 69 66 20 6d | 79 4e 75 6d 20 3d 20 31 |rue.if m|yNum = 1|
|00004b00| 30 20 74 68 65 6e 0d 2d | 2d 20 74 68 69 73 20 77 |0 then.-|- this w|
|00004b10| 61 73 20 22 73 74 6f 70 | 22 20 62 75 74 20 69 74 |as "stop|" but it|
|00004b20| 20 77 61 73 20 72 65 6c | 65 61 73 65 64 0d 2d 2d | was rel|eased.--|
|00004b30| 20 77 69 74 68 6f 75 74 | 20 63 6f 6d 70 6c 65 74 | without| complet|
|00004b40| 69 6e 67 2c 20 73 6f 20 | 72 65 73 75 6d 65 20 61 |ing, so |resume a|
|00004b50| 75 64 69 6f 20 61 6e 79 | 77 61 79 0d 73 65 6e 64 |udio any|way.send|
|00004b60| 20 22 72 65 73 75 6d 65 | 41 75 64 69 6f 22 20 74 | "resume|Audio" t|
|00004b70| 6f 20 74 68 69 73 20 63 | 61 72 64 0d 65 6c 73 65 |o this c|ard.else|
|00004b80| 20 69 66 20 6d 79 4e 75 | 6d 20 3d 20 31 33 20 74 | if myNu|m = 13 t|
|00004b90| 68 65 6e 0d 2d 2d 20 74 | 68 69 73 20 77 61 73 20 |hen.-- t|his was |
|00004ba0| 22 6d 6f 76 69 65 53 74 | 6f 70 22 20 62 75 74 20 |"movieSt|op" but |
|00004bb0| 69 74 20 77 61 73 20 72 | 65 6c 65 61 73 65 64 0d |it was r|eleased.|
|00004bc0| 2d 2d 20 77 69 74 68 6f | 75 74 20 63 6f 6d 70 6c |-- witho|ut compl|
|00004bd0| 65 74 69 6e 67 2c 20 73 | 6f 20 72 65 73 75 6d 65 |eting, s|o resume|
|00004be0| 20 61 75 64 69 6f 20 61 | 6e 79 77 61 79 0d 73 65 | audio a|nyway.se|
|00004bf0| 6e 64 20 22 70 6c 61 79 | 4d 6f 76 69 65 53 6f 6c |nd "play|MovieSol|
|00004c00| 6f 22 20 74 6f 20 74 68 | 69 73 20 63 61 72 64 0d |o" to th|is card.|
|00004c10| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 65 6e |end if.e|nd if.en|
|00004c20| 64 20 69 66 0d 65 6e 64 | 20 69 66 0d 69 66 20 6d |d if.end| if.if m|
|00004c30| 79 4f 70 70 6f 73 69 74 | 65 20 69 73 20 65 6d 70 |yOpposit|e is emp|
|00004c40| 74 79 20 74 68 65 6e 0d | 2d 2d 20 6f 6e 6c 79 20 |ty then.|-- only |
|00004c50| 70 75 74 20 69 74 20 75 | 70 20 69 66 20 74 68 65 |put it u|p if the|
|00004c60| 72 65 20 69 73 20 6e 6f | 20 6f 70 70 6f 73 69 74 |re is no| opposit|
|00004c70| 65 0d 73 68 6f 77 4d 79 | 48 69 6c 69 74 65 20 28 |e.showMy|Hilite (|
|00004c80| 62 74 6e 4e 61 6d 65 26 | 22 55 70 22 29 0d 65 6e |btnName&|"Up").en|
|00004c90| 64 20 69 66 0d 65 6e 64 | 20 74 6f 67 67 6c 65 50 |d if.end| toggleP|
|00004ca0| 61 6e 65 6c 0d 0d 6f 6e | 20 73 68 6f 77 4d 79 48 |anel..on| showMyH|
|00004cb0| 69 6c 69 74 65 20 77 68 | 69 63 68 2c 62 6c 61 73 |ilite wh|ich,blas|
|00004cc0| 74 4f 6e 6c 79 0d 69 66 | 20 62 6c 61 73 74 4f 6e |tOnly.if| blastOn|
|00004cd0| 6c 79 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |ly is em|pty then|
|00004ce0| 20 70 75 74 20 66 61 6c | 73 65 20 69 6e 74 6f 20 | put fal|se into |
|00004cf0| 62 6c 61 73 74 4f 6e 6c | 79 0d 70 75 74 20 74 68 |blastOnl|y.put th|
|00004d00| 65 20 72 65 63 74 20 6f | 66 20 74 68 65 20 74 61 |e rect o|f the ta|
|00004d10| 72 67 65 74 20 69 6e 74 | 6f 20 61 6c 6c 6f 77 52 |rget int|o allowR|
|00004d20| 65 63 74 0d 70 75 74 20 | 74 68 65 20 74 6f 70 4c |ect.put |the topL|
|00004d30| 65 66 74 20 6f 66 20 74 | 68 65 20 74 61 72 67 65 |eft of t|he targe|
|00004d40| 74 20 69 6e 74 6f 20 70 | 69 63 74 54 6f 70 4c 65 |t into p|ictTopLe|
|00004d50| 66 74 0d 51 54 50 69 63 | 74 20 22 64 69 73 70 6c |ft.QTPic|t "displ|
|00004d60| 61 79 50 69 63 74 22 2c | 77 68 69 63 68 2c 70 69 |ayPict",|which,pi|
|00004d70| 63 74 54 6f 70 4c 65 66 | 74 2c 22 72 65 73 6f 75 |ctTopLef|t,"resou|
|00004d80| 72 63 65 22 0d 69 66 20 | 6e 6f 74 20 62 6c 61 73 |rce".if |not blas|
|00004d90| 74 4f 6e 6c 79 20 74 68 | 65 6e 20 63 6f 6c 6f 72 |tOnly th|en color|
|00004da0| 69 7a 65 48 43 20 22 41 | 64 64 22 2c 77 68 69 63 |izeHC "A|dd",whic|
|00004db0| 68 2c 70 69 63 74 54 6f | 70 4c 65 66 74 2c 61 6c |h,pictTo|pLeft,al|
|00004dc0| 6c 6f 77 52 65 63 74 0d | 65 6e 64 20 73 68 6f 77 |lowRect.|end show|
|00004dd0| 4d 79 48 69 6c 69 74 65 | 0d 0d 6f 6e 20 73 65 74 |MyHilite|..on set|
|00004de0| 4e 65 78 74 54 72 69 67 | 67 65 72 20 6e 65 78 74 |NextTrig|ger next|
|00004df0| 54 72 69 67 67 65 72 0d | 67 6c 6f 62 61 6c 20 63 |Trigger.|global c|
|00004e00| 75 72 72 65 6e 74 41 75 | 64 69 6f 0d 69 66 20 6e |urrentAu|dio.if n|
|00004e10| 65 78 74 54 72 69 67 67 | 65 72 20 69 73 20 65 6d |extTrigg|er is em|
|00004e20| 70 74 79 20 6f 72 20 6e | 65 78 74 54 72 69 67 67 |pty or n|extTrigg|
|00004e30| 65 72 20 3d 20 30 20 74 | 68 65 6e 20 70 75 74 20 |er = 0 t|hen put |
|00004e40| 22 65 6e 64 22 20 69 6e | 74 6f 20 6e 65 78 74 54 |"end" in|to nextT|
|00004e50| 72 69 67 67 65 72 0d 70 | 75 74 20 22 6e 65 78 74 |rigger.p|ut "next|
|00004e60| 53 79 6e 63 68 22 20 69 | 6e 74 6f 20 6e 65 78 74 |Synch" i|nto next|
|00004e70| 43 75 65 0d 69 66 20 6e | 65 78 74 54 72 69 67 67 |Cue.if n|extTrigg|
|00004e80| 65 72 20 3d 20 22 6e 6f | 6e 65 22 20 74 68 65 6e |er = "no|ne" then|
|00004e90| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00004ea0| 6e 65 78 74 43 75 65 0d | 70 75 74 20 65 6d 70 74 |nextCue.|put empt|
|00004eb0| 79 20 69 6e 74 6f 20 6e | 65 78 74 54 72 69 67 67 |y into n|extTrigg|
|00004ec0| 65 72 0d 65 6e 64 20 69 | 66 0d 69 66 20 63 75 72 |er.end i|f.if cur|
|00004ed0| 72 65 6e 74 41 75 64 69 | 6f 20 69 73 20 6e 6f 74 |rentAudi|o is not|
|00004ee0| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 73 65 74 20 | empty t|hen.set |
|00004ef0| 63 61 6c 6c 42 61 63 6b | 54 69 6d 65 20 6f 66 20 |callBack|Time of |
|00004f00| 77 69 6e 64 6f 77 20 63 | 75 72 72 65 6e 74 41 75 |window c|urrentAu|
|00004f10| 64 69 6f 20 74 6f 20 6e | 65 78 74 54 72 69 67 67 |dio to n|extTrigg|
|00004f20| 65 72 0d 73 65 74 20 63 | 61 6c 6c 42 61 63 6b 4d |er.set c|allBackM|
|00004f30| 73 67 20 6f 66 20 77 69 | 6e 64 6f 77 20 63 75 72 |sg of wi|ndow cur|
|00004f40| 72 65 6e 74 41 75 64 69 | 6f 20 74 6f 20 6e 65 78 |rentAudi|o to nex|
|00004f50| 74 43 75 65 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |tCue.end| if.end |
|00004f60| 73 65 74 4e 65 78 74 54 | 72 69 67 67 65 72 0d 0d |setNextT|rigger..|
|00004f70| 6f 6e 20 6e 6f 54 72 69 | 67 67 65 72 46 72 61 6d |on noTri|ggerFram|
|00004f80| 65 0d 67 6c 6f 62 61 6c | 20 63 75 72 72 65 6e 74 |e.global| current|
|00004f90| 41 75 64 69 6f 0d 69 66 | 20 63 75 72 72 65 6e 74 |Audio.if| current|
|00004fa0| 41 75 64 69 6f 20 69 73 | 20 6e 6f 74 20 65 6d 70 |Audio is| not emp|
|00004fb0| 74 79 20 74 68 65 6e 0d | 73 65 74 20 63 61 6c 6c |ty then.|set call|
|00004fc0| 42 61 63 6b 54 69 6d 65 | 20 6f 66 20 77 69 6e 64 |BackTime| of wind|
|00004fd0| 6f 77 20 63 75 72 72 65 | 6e 74 41 75 64 69 6f 20 |ow curre|ntAudio |
|00004fe0| 74 6f 20 22 65 6e 64 22 | 0d 73 65 74 20 63 61 6c |to "end"|.set cal|
|00004ff0| 6c 42 61 63 6b 4d 73 67 | 20 6f 66 20 77 69 6e 64 |lBackMsg| of wind|
|00005000| 6f 77 20 63 75 72 72 65 | 6e 74 41 75 64 69 6f 20 |ow curre|ntAudio |
|00005010| 74 6f 20 22 65 6e 64 4d | 6f 76 69 65 22 0d 65 6e |to "endM|ovie".en|
|00005020| 64 20 69 66 0d 65 6e 64 | 20 6e 6f 54 72 69 67 67 |d if.end| noTrigg|
|00005030| 65 72 46 72 61 6d 65 0d | 0d 6f 6e 20 73 68 6f 77 |erFrame.|.on show|
|00005040| 42 75 74 74 6f 6e 20 77 | 68 69 63 68 0d 2d 2d 20 |Button w|hich.-- |
|00005050| 75 73 65 64 20 77 69 74 | 68 69 6e 20 73 68 6f 77 |used wit|hin show|
|00005060| 4e 61 72 72 61 74 69 76 | 65 20 61 6e 64 20 73 68 |Narrativ|e and sh|
|00005070| 6f 77 4f 75 74 6c 69 6e | 65 20 77 68 69 63 68 20 |owOutlin|e which |
|00005080| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 70 75 74 20 |lock scr|een.put |
|00005090| 77 68 69 63 68 26 22 42 | 75 74 74 6f 6e 22 20 69 |which&"B|utton" i|
|000050a0| 6e 74 6f 20 70 69 63 74 | 4e 61 6d 65 0d 63 6f 6c |nto pict|Name.col|
|000050b0| 6f 72 69 7a 65 48 43 20 | 22 41 64 64 22 2c 70 69 |orizeHC |"Add",pi|
|000050c0| 63 74 4e 61 6d 65 2c 28 | 74 68 65 20 74 6f 70 4c |ctName,(|the topL|
|000050d0| 65 66 74 20 6f 66 20 62 | 67 20 62 74 6e 20 77 68 |eft of b|g btn wh|
|000050e0| 69 63 68 29 0d 65 6e 64 | 20 73 68 6f 77 42 75 74 |ich).end| showBut|
|000050f0| 74 6f 6e 0d 0d 6f 6e 20 | 73 68 6f 77 48 69 6c 69 |ton..on |showHili|
|00005100| 74 65 20 77 68 69 63 68 | 2c 70 69 63 74 4e 61 6d |te which|,pictNam|
|00005110| 65 2c 62 74 6e 4c 65 76 | 65 6c 2c 6e 6f 77 2c 66 |e,btnLev|el,now,f|
|00005120| 72 6f 6d 57 68 65 72 65 | 0d 69 66 20 6e 6f 77 20 |romWhere|.if now |
|00005130| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 70 75 |is empty| then pu|
|00005140| 74 20 74 72 75 65 20 69 | 6e 74 6f 20 6e 6f 77 0d |t true i|nto now.|
|00005150| 69 66 20 66 72 6f 6d 57 | 68 65 72 65 20 69 73 20 |if fromW|here is |
|00005160| 65 6d 70 74 79 20 74 68 | 65 6e 20 70 75 74 20 22 |empty th|en put "|
|00005170| 72 65 73 6f 75 72 63 65 | 22 20 69 6e 74 6f 20 66 |resource|" into f|
|00005180| 72 6f 6d 57 68 65 72 65 | 0d 69 66 20 62 74 6e 4c |romWhere|.if btnL|
|00005190| 65 76 65 6c 20 69 73 20 | 65 6d 70 74 79 20 6f 72 |evel is |empty or|
|000051a0| 20 62 74 6e 4c 65 76 65 | 6c 20 69 73 20 22 62 67 | btnLeve|l is "bg|
|000051b0| 22 20 74 68 65 6e 0d 70 | 75 74 20 74 68 65 20 72 |" then.p|ut the r|
|000051c0| 65 63 74 20 6f 66 20 62 | 67 20 62 74 6e 20 77 68 |ect of b|g btn wh|
|000051d0| 69 63 68 20 69 6e 74 6f | 20 61 6c 6c 6f 77 52 65 |ich into| allowRe|
|000051e0| 63 74 0d 70 75 74 20 74 | 68 65 20 74 6f 70 4c 65 |ct.put t|he topLe|
|000051f0| 66 74 20 6f 66 20 62 67 | 20 62 74 6e 20 77 68 69 |ft of bg| btn whi|
|00005200| 63 68 20 69 6e 74 6f 20 | 70 69 63 74 54 6f 70 4c |ch into |pictTopL|
|00005210| 65 66 74 0d 65 6c 73 65 | 0d 70 75 74 20 74 68 65 |eft.else|.put the|
|00005220| 20 72 65 63 74 20 6f 66 | 20 63 64 20 62 74 6e 20 | rect of| cd btn |
|00005230| 77 68 69 63 68 20 69 6e | 74 6f 20 61 6c 6c 6f 77 |which in|to allow|
|00005240| 52 65 63 74 0d 70 75 74 | 20 74 68 65 20 74 6f 70 |Rect.put| the top|
|00005250| 4c 65 66 74 20 6f 66 20 | 63 64 20 62 74 6e 20 77 |Left of |cd btn w|
|00005260| 68 69 63 68 20 69 6e 74 | 6f 20 70 69 63 74 54 6f |hich int|o pictTo|
|00005270| 70 4c 65 66 74 0d 65 6e | 64 20 69 66 0d 69 66 20 |pLeft.en|d if.if |
|00005280| 6e 6f 77 20 74 68 65 6e | 20 51 54 50 69 63 74 20 |now then| QTPict |
|00005290| 22 64 69 73 70 6c 61 79 | 50 69 63 74 22 2c 70 69 |"display|Pict",pi|
|000052a0| 63 74 4e 61 6d 65 2c 70 | 69 63 74 54 6f 70 4c 65 |ctName,p|ictTopLe|
|000052b0| 66 74 2c 66 72 6f 6d 57 | 68 65 72 65 0d 63 6f 6c |ft,fromW|here.col|
|000052c0| 6f 72 69 7a 65 48 43 20 | 22 41 64 64 22 2c 70 69 |orizeHC |"Add",pi|
|000052d0| 63 74 4e 61 6d 65 2c 70 | 69 63 74 54 6f 70 4c 65 |ctName,p|ictTopLe|
|000052e0| 66 74 2c 61 6c 6c 6f 77 | 52 65 63 74 0d 65 6e 64 |ft,allow|Rect.end|
|000052f0| 20 73 68 6f 77 48 69 6c | 69 74 65 0d 0d 6f 6e 20 | showHil|ite..on |
|00005300| 63 6c 69 70 41 6c 6c 41 | 72 65 61 73 0d 2d 2d 20 |clipAllA|reas.-- |
|00005310| 64 65 66 61 75 6c 74 20 | 69 73 20 6e 6f 20 61 72 |default |is no ar|
|00005320| 65 61 73 0d 65 6e 64 20 | 63 6c 69 70 41 6c 6c 41 |eas.end |clipAllA|
|00005330| 72 65 61 73 0d 0d 6f 6e | 20 73 65 74 41 6c 6c 42 |reas..on| setAllB|
|00005340| 75 74 74 6f 6e 73 0d 69 | 66 20 67 65 74 42 75 74 |uttons.i|f getBut|
|00005350| 74 6f 6e 53 74 61 74 75 | 73 28 35 29 20 74 68 65 |tonStatu|s(5) the|
|00005360| 6e 0d 2d 2d 20 63 6f 6e | 74 72 6f 6c 20 70 61 6e |n.-- con|trol pan|
|00005370| 65 6c 20 69 73 20 76 69 | 73 69 62 6c 65 0d 73 68 |el is vi|sible.sh|
|00005380| 6f 77 43 6f 6e 74 72 6f | 6c 50 61 6e 65 6c 0d 65 |owContro|lPanel.e|
|00005390| 6c 73 65 0d 68 69 64 65 | 43 6f 6e 74 72 6f 6c 50 |lse.hide|ControlP|
|000053a0| 61 6e 65 6c 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |anel.end| if.end |
|000053b0| 73 65 74 41 6c 6c 42 75 | 74 74 6f 6e 73 0d 0d 66 |setAllBu|ttons..f|
|000053c0| 75 6e 63 74 69 6f 6e 20 | 67 65 74 42 75 74 74 6f |unction |getButto|
|000053d0| 6e 53 74 61 74 75 73 20 | 77 68 69 63 68 0d 67 6c |nStatus |which.gl|
|000053e0| 6f 62 61 6c 20 62 75 74 | 74 6f 6e 53 74 61 74 75 |obal but|tonStatu|
|000053f0| 73 0d 69 66 20 77 6f 72 | 64 20 31 20 6f 66 20 6c |s.if wor|d 1 of l|
|00005400| 69 6e 65 20 77 68 69 63 | 68 20 6f 66 20 62 75 74 |ine whic|h of but|
|00005410| 74 6f 6e 53 74 61 74 75 | 73 20 69 73 20 22 75 70 |tonStatu|s is "up|
|00005420| 22 20 6f 72 20 77 68 69 | 63 68 20 3d 20 30 20 74 |" or whi|ch = 0 t|
|00005430| 68 65 6e 0d 72 65 74 75 | 72 6e 20 66 61 6c 73 65 |hen.retu|rn false|
|00005440| 0d 65 6c 73 65 0d 72 65 | 74 75 72 6e 20 74 72 75 |.else.re|turn tru|
|00005450| 65 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 67 65 74 |e.end if|.end get|
|00005460| 42 75 74 74 6f 6e 53 74 | 61 74 75 73 0d 0d 66 75 |ButtonSt|atus..fu|
|00005470| 6e 63 74 69 6f 6e 20 67 | 65 74 42 75 74 74 6f 6e |nction g|etButton|
|00005480| 4e 61 6d 65 20 77 68 69 | 63 68 0d 67 6c 6f 62 61 |Name whi|ch.globa|
|00005490| 6c 20 62 75 74 74 6f 6e | 53 74 61 74 75 73 0d 72 |l button|Status.r|
|000054a0| 65 74 75 72 6e 20 77 6f | 72 64 20 32 20 6f 66 20 |eturn wo|rd 2 of |
|000054b0| 6c 69 6e 65 20 77 68 69 | 63 68 20 6f 66 20 62 75 |line whi|ch of bu|
|000054c0| 74 74 6f 6e 53 74 61 74 | 75 73 0d 65 6e 64 20 67 |ttonStat|us.end g|
|000054d0| 65 74 42 75 74 74 6f 6e | 4e 61 6d 65 0d 0d 6f 6e |etButton|Name..on|
|000054e0| 20 73 65 74 42 75 74 74 | 6f 6e 53 74 61 74 75 73 | setButt|onStatus|
|000054f0| 20 77 68 69 63 68 2c 77 | 68 61 74 0d 67 6c 6f 62 | which,w|hat.glob|
|00005500| 61 6c 20 62 75 74 74 6f | 6e 53 74 61 74 75 73 0d |al butto|nStatus.|
|00005510| 69 66 20 77 68 61 74 20 | 74 68 65 6e 0d 70 75 74 |if what |then.put|
|00005520| 20 22 64 6e 22 20 69 6e | 74 6f 20 6d 79 53 74 61 | "dn" in|to mySta|
|00005530| 74 75 73 0d 65 6c 73 65 | 0d 70 75 74 20 22 75 70 |tus.else|.put "up|
|00005540| 22 20 69 6e 74 6f 20 6d | 79 53 74 61 74 75 73 0d |" into m|yStatus.|
|00005550| 65 6e 64 20 69 66 0d 69 | 66 20 77 68 69 63 68 20 |end if.i|f which |
|00005560| 3e 20 30 20 74 68 65 6e | 20 70 75 74 20 6d 79 53 |> 0 then| put myS|
|00005570| 74 61 74 75 73 20 69 6e | 74 6f 20 77 6f 72 64 20 |tatus in|to word |
|00005580| 31 20 6f 66 20 6c 69 6e | 65 20 77 68 69 63 68 20 |1 of lin|e which |
|00005590| 6f 66 20 62 75 74 74 6f | 6e 53 74 61 74 75 73 0d |of butto|nStatus.|
|000055a0| 65 6e 64 20 73 65 74 42 | 75 74 74 6f 6e 53 74 61 |end setB|uttonSta|
|000055b0| 74 75 73 0d 0d 6f 6e 20 | 72 65 73 65 74 53 63 72 |tus..on |resetScr|
|000055c0| 6f 6c 6c 73 0d 2d 2d 20 | 64 6f 20 6e 6f 74 68 69 |olls.-- |do nothi|
|000055d0| 6e 67 20 65 78 63 65 70 | 74 20 6f 6e 20 6e 61 72 |ng excep|t on nar|
|000055e0| 72 61 74 69 6f 6e 20 62 | 67 73 0d 65 6e 64 20 72 |ration b|gs.end r|
|000055f0| 65 73 65 74 53 63 72 6f | 6c 6c 73 0d 0d 6f 6e 20 |esetScro|lls..on |
|00005600| 6d 61 6b 65 54 65 78 74 | 56 69 73 69 62 6c 65 0d |makeText|Visible.|
|00005610| 2d 2d 20 64 6f 20 6e 6f | 74 68 69 6e 67 20 65 78 |-- do no|thing ex|
|00005620| 63 65 70 74 20 6f 6e 20 | 6e 61 72 72 61 74 69 6f |cept on |narratio|
|00005630| 6e 20 62 67 73 0d 65 6e | 64 20 6d 61 6b 65 54 65 |n bgs.en|d makeTe|
|00005640| 78 74 56 69 73 69 62 6c | 65 0d 0d 6f 6e 20 6f 70 |xtVisibl|e..on op|
|00005650| 65 6e 42 61 63 6b 67 72 | 6f 75 6e 64 0d 67 6c 6f |enBackgr|ound.glo|
|00005660| 62 61 6c 20 6c 61 73 74 | 42 47 0d 2d 2d 20 63 68 |bal last|BG.-- ch|
|00005670| 65 63 6b 42 61 63 6b 67 | 72 6f 75 6e 64 0d 70 75 |eckBackg|round.pu|
|00005680| 74 20 74 68 65 20 73 68 | 6f 72 74 20 6e 61 6d 65 |t the sh|ort name|
|00005690| 20 6f 66 20 74 68 69 73 | 20 62 61 63 6b 67 72 6f | of this| backgro|
|000056a0| 75 6e 64 20 69 6e 74 6f | 20 6c 61 73 74 42 47 0d |und into| lastBG.|
|000056b0| 65 6e 64 20 6f 70 65 6e | 42 61 63 6b 67 72 6f 75 |end open|Backgrou|
|000056c0| 6e 64 0d 0d 6f 6e 20 73 | 68 6f 77 48 65 6c 70 0d |nd..on s|howHelp.|
|000056d0| 2d 2d 20 67 6f 20 74 6f | 20 74 68 65 20 68 65 6c |-- go to| the hel|
|000056e0| 70 20 63 61 72 64 0d 67 | 6c 6f 62 61 6c 20 6c 61 |p card.g|lobal la|
|000056f0| 73 74 43 61 72 64 0d 73 | 65 74 20 63 75 72 73 6f |stCard.s|et curso|
|00005700| 72 20 74 6f 20 77 61 74 | 63 68 0d 6c 6f 63 6b 20 |r to wat|ch.lock |
|00005710| 73 63 72 65 65 6e 0d 67 | 6f 20 63 64 20 22 68 65 |screen.g|o cd "he|
|00005720| 6c 70 20 6d 65 6e 75 22 | 0d 73 65 6e 64 20 22 73 |lp menu"|.send "s|
|00005730| 68 6f 77 42 61 63 6b 67 | 72 6f 75 6e 64 22 20 74 |howBackg|round" t|
|00005740| 6f 20 62 67 20 22 68 65 | 6c 70 22 20 2d 2d 3f 3f |o bg "he|lp" --??|
|00005750| 0d 75 6e 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 73 |.unlock |screen.s|
|00005760| 65 6e 64 20 22 6f 70 65 | 6e 61 63 74 69 6f 6e 22 |end "ope|naction"|
|00005770| 20 74 6f 20 74 68 69 73 | 20 63 61 72 64 0d 65 6e | to this| card.en|
|00005780| 64 20 73 68 6f 77 48 65 | 6c 70 0d 0d 6f 6e 20 72 |d showHe|lp..on r|
|00005790| 65 74 75 72 6e 48 65 6c | 70 0d 2d 2d 20 73 68 6f |eturnHel|p.-- sho|
|000057a0| 75 6c 64 6e 27 74 20 62 | 65 20 6e 65 65 64 65 64 |uldn't b|e needed|
|000057b0| 2c 20 73 69 6e 63 65 20 | 6f 6e 6c 79 20 48 45 4c |, since |only HEL|
|000057c0| 50 20 63 61 72 64 73 20 | 63 61 6e 20 72 65 74 75 |P cards |can retu|
|000057d0| 72 6e 0d 65 6e 64 20 72 | 65 74 75 72 6e 48 65 6c |rn.end r|eturnHel|
|000057e0| 70 0d 0d 6f 6e 20 70 61 | 75 73 65 41 75 64 69 6f |p..on pa|useAudio|
|000057f0| 0d 67 6c 6f 62 61 6c 20 | 63 75 72 72 65 6e 74 41 |.global |currentA|
|00005800| 75 64 69 6f 2c 20 63 75 | 72 72 65 6e 74 41 75 64 |udio, cu|rrentAud|
|00005810| 69 6f 53 74 61 74 65 0d | 69 66 20 63 75 72 72 65 |ioState.|if curre|
|00005820| 6e 74 41 75 64 69 6f 20 | 69 73 20 6e 6f 74 20 65 |ntAudio |is not e|
|00005830| 6d 70 74 79 20 74 68 65 | 6e 0d 73 65 6e 64 20 22 |mpty the|n.send "|
|00005840| 70 61 75 73 65 22 20 74 | 6f 20 77 69 6e 64 6f 77 |pause" t|o window|
|00005850| 20 63 75 72 72 65 6e 74 | 41 75 64 69 6f 0d 65 6e | current|Audio.en|
|00005860| 64 20 69 66 0d 70 75 74 | 20 22 70 61 75 73 65 22 |d if.put| "pause"|
|00005870| 20 69 6e 74 6f 20 63 75 | 72 72 65 6e 74 41 75 64 | into cu|rrentAud|
|00005880| 69 6f 53 74 61 74 65 0d | 73 65 74 42 75 74 74 6f |ioState.|setButto|
|00005890| 6e 53 74 61 74 75 73 20 | 39 2c 66 61 6c 73 65 20 |nStatus |9,false |
|000058a0| 20 2d 2d 20 70 6c 61 79 | 20 69 73 20 75 70 0d 73 | -- play| is up.s|
|000058b0| 65 74 42 75 74 74 6f 6e | 53 74 61 74 75 73 20 31 |etButton|Status 1|
|000058c0| 30 2c 74 72 75 65 20 20 | 2d 2d 20 70 61 75 73 65 |0,true |-- pause|
|000058d0| 20 69 73 20 64 6f 77 6e | 0d 65 6e 64 20 70 61 75 | is down|.end pau|
|000058e0| 73 65 41 75 64 69 6f 0d | 0d 6f 6e 20 70 61 75 73 |seAudio.|.on paus|
|000058f0| 65 4d 6f 76 69 65 0d 67 | 6c 6f 62 61 6c 20 63 75 |eMovie.g|lobal cu|
|00005900| 72 72 65 6e 74 4d 6f 76 | 69 65 2c 20 63 75 72 72 |rrentMov|ie, curr|
|00005910| 65 6e 74 4d 6f 76 69 65 | 54 79 70 65 0d 69 66 20 |entMovie|Type.if |
|00005920| 63 75 72 72 65 6e 74 4d | 6f 76 69 65 20 69 73 20 |currentM|ovie is |
|00005930| 6e 6f 74 20 65 6d 70 74 | 79 20 61 6e 64 20 63 75 |not empt|y and cu|
|00005940| 72 72 65 6e 74 4d 6f 76 | 69 65 54 79 70 65 20 69 |rrentMov|ieType i|
|00005950| 73 20 22 4d 6f 6f 56 22 | 20 61 6e 64 20 c2 0d 74 |s "MooV"| and ..t|
|00005960| 68 65 72 65 20 69 73 20 | 61 20 77 69 6e 64 6f 77 |here is |a window|
|00005970| 20 63 75 72 72 65 6e 74 | 4d 6f 76 69 65 20 74 68 | current|Movie th|
|00005980| 65 6e 0d 73 65 6e 64 20 | 22 70 61 75 73 65 22 20 |en.send |"pause" |
|00005990| 74 6f 20 77 69 6e 64 6f | 77 20 63 75 72 72 65 6e |to windo|w curren|
|000059a0| 74 4d 6f 76 69 65 0d 65 | 6e 64 20 69 66 0d 65 6e |tMovie.e|nd if.en|
|000059b0| 64 20 70 61 75 73 65 4d | 6f 76 69 65 0d 0d 6f 6e |d pauseM|ovie..on|
|000059c0| 20 73 74 6f 70 56 69 64 | 65 6f 0d 64 69 73 70 6f | stopVid|eo.dispo|
|000059d0| 73 65 4d 6f 76 69 65 0d | 65 6e 64 20 73 74 6f 70 |seMovie.|end stop|
|000059e0| 56 69 64 65 6f 0d 0d 6f | 6e 20 6e 65 78 74 41 63 |Video..o|n nextAc|
|000059f0| 74 69 6f 6e 0d 67 6f 4e | 65 78 74 0d 65 6e 64 20 |tion.goN|ext.end |
|00005a00| 6e 65 78 74 41 63 74 69 | 6f 6e 0d 0d 6f 6e 20 66 |nextActi|on..on f|
|00005a10| 69 72 73 74 4d 6f 76 69 | 65 44 6f 6e 65 0d 73 74 |irstMovi|eDone.st|
|00005a20| 6f 70 56 69 64 65 6f 0d | 67 6f 4e 65 78 74 0d 65 |opVideo.|goNext.e|
|00005a30| 6e 64 20 66 69 72 73 74 | 4d 6f 76 69 65 44 6f 6e |nd first|MovieDon|
|00005a40| 65 0d 0d 6f 6e 20 67 6f | 4e 65 78 74 0d 73 65 6e |e..on go|Next.sen|
|00005a50| 64 20 63 6c 6f 73 65 61 | 63 74 69 6f 6e 20 74 6f |d closea|ction to|
|00005a60| 20 74 68 69 73 20 63 61 | 72 64 0d 6c 6f 63 6b 20 | this ca|rd.lock |
|00005a70| 73 63 72 65 65 6e 0d 67 | 6f 20 6e 65 78 74 0d 75 |screen.g|o next.u|
|00005a80| 6e 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 73 65 6e |nlock sc|reen.sen|
|00005a90| 64 20 6f 70 65 6e 61 63 | 74 69 6f 6e 20 74 6f 20 |d openac|tion to |
|00005aa0| 74 68 69 73 20 63 61 72 | 64 0d 65 6e 64 20 67 6f |this car|d.end go|
|00005ab0| 4e 65 78 74 0d 0d 6f 6e | 20 67 6f 50 72 65 76 0d |Next..on| goPrev.|
|00005ac0| 73 65 6e 64 20 63 6c 6f | 73 65 61 63 74 69 6f 6e |send clo|seaction|
|00005ad0| 20 74 6f 20 74 68 69 73 | 20 63 61 72 64 0d 6c 6f | to this| card.lo|
|00005ae0| 63 6b 20 73 63 72 65 65 | 6e 0d 67 6f 20 70 72 65 |ck scree|n.go pre|
|00005af0| 76 0d 75 6e 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |v.unlock| screen.|
|00005b00| 73 65 6e 64 20 6f 70 65 | 6e 61 63 74 69 6f 6e 20 |send ope|naction |
|00005b10| 74 6f 20 74 68 69 73 20 | 63 61 72 64 0d 65 6e 64 |to this |card.end|
|00005b20| 20 67 6f 50 72 65 76 0d | 0d 6f 6e 20 67 6f 54 6f | goPrev.|.on goTo|
|00005b30| 20 63 61 72 64 4e 61 6d | 65 0d 70 72 6f 74 65 63 | cardNam|e.protec|
|00005b40| 74 4d 6f 76 69 65 0d 67 | 6f 20 63 61 72 64 20 63 |tMovie.g|o card c|
|00005b50| 61 72 64 4e 61 6d 65 0d | 61 6c 6c 43 6c 69 70 0d |ardName.|allClip.|
|00005b60| 73 65 6e 64 20 6f 70 65 | 6e 61 63 74 69 6f 6e 20 |send ope|naction |
|00005b70| 74 6f 20 74 68 69 73 20 | 63 61 72 64 0d 65 6e 64 |to this |card.end|
|00005b80| 20 67 6f 54 6f 0d 0d 6f | 6e 20 6f 70 65 6e 61 63 | goTo..o|n openac|
|00005b90| 74 69 6f 6e 0d 65 6e 64 | 20 6f 70 65 6e 61 63 74 |tion.end| openact|
|00005ba0| 69 6f 6e 0d 0d 6f 6e 20 | 63 6c 6f 73 65 61 63 74 |ion..on |closeact|
|00005bb0| 69 6f 6e 0d 65 6e 64 20 | 63 6c 6f 73 65 61 63 74 |ion.end |closeact|
|00005bc0| 69 6f 6e 0d 0d 6f 6e 20 | 6f 70 65 6e 73 74 61 63 |ion..on |openstac|
|00005bd0| 6b 0d 73 65 6e 64 20 22 | 64 6f 4f 70 65 6e 53 74 |k.send "|doOpenSt|
|00005be0| 61 63 6b 22 20 74 6f 20 | 63 61 72 64 20 31 0d 65 |ack" to |card 1.e|
|00005bf0| 6e 64 20 6f 70 65 6e 73 | 74 61 63 6b 0d 0d 6f 6e |nd opens|tack..on|
|00005c00| 20 63 6c 6f 73 65 73 74 | 61 63 6b 0d 73 65 6e 64 | closest|ack.send|
|00005c10| 20 22 64 6f 43 6c 6f 73 | 65 53 74 61 63 6b 22 20 | "doClos|eStack" |
|00005c20| 74 6f 20 63 61 72 64 20 | 31 0d 65 6e 64 20 63 6c |to card |1.end cl|
|00005c30| 6f 73 65 73 74 61 63 6b | 0d 0d 6f 6e 20 73 65 74 |osestack|..on set|
|00005c40| 41 75 64 69 6f 4c 65 76 | 65 6c 20 6d 79 4c 65 76 |AudioLev|el myLev|
|00005c50| 65 6c 0d 73 65 6e 64 20 | 22 73 65 74 41 75 64 69 |el.send |"setAudi|
|00005c60| 6f 4c 65 76 65 6c 20 6d | 79 4c 65 76 65 6c 22 20 |oLevel m|yLevel" |
|00005c70| 74 6f 20 63 64 20 31 0d | 65 6e 64 20 73 65 74 41 |to cd 1.|end setA|
|00005c80| 75 64 69 6f 4c 65 76 65 | 6c 0d 0d 66 75 6e 63 74 |udioLeve|l..funct|
|00005c90| 69 6f 6e 20 74 72 61 6e | 73 6c 61 74 65 41 75 64 |ion tran|slateAud|
|00005ca0| 69 6f 4c 65 76 65 6c 20 | 77 68 69 63 68 2c 6d 79 |ioLevel |which,my|
|00005cb0| 4c 65 76 65 6c 0d 69 66 | 20 77 68 69 63 68 20 3d |Level.if| which =|
|00005cc0| 20 22 73 79 73 74 65 6d | 41 75 64 69 6f 4c 65 76 | "system|AudioLev|
|00005cd0| 65 6c 22 20 74 68 65 6e | 0d 69 66 20 6d 79 4c 65 |el" then|.if myLe|
|00005ce0| 76 65 6c 20 3d 20 37 20 | 74 68 65 6e 0d 72 65 74 |vel = 7 |then.ret|
|00005cf0| 75 72 6e 20 33 0d 65 6c | 73 65 20 69 66 20 6d 79 |urn 3.el|se if my|
|00005d00| 4c 65 76 65 6c 20 3d 20 | 34 20 74 68 65 6e 0d 72 |Level = |4 then.r|
|00005d10| 65 74 75 72 6e 20 32 0d | 65 6c 73 65 20 69 66 20 |eturn 2.|else if |
|00005d20| 6d 79 4c 65 76 65 6c 20 | 3d 20 31 20 74 68 65 6e |myLevel |= 1 then|
|00005d30| 0d 72 65 74 75 72 6e 20 | 31 0d 65 6c 73 65 0d 72 |.return |1.else.r|
|00005d40| 65 74 75 72 6e 20 30 0d | 65 6e 64 20 69 66 0d 65 |eturn 0.|end if.e|
|00005d50| 6c 73 65 20 20 2d 2d 20 | 69 6e 70 75 74 20 69 73 |lse -- |input is|
|00005d60| 20 62 75 74 74 6f 6e 20 | 61 75 64 69 6f 20 6c 65 | button |audio le|
|00005d70| 76 65 6c 0d 69 66 20 6d | 79 4c 65 76 65 6c 20 3d |vel.if m|yLevel =|
|00005d80| 20 33 20 74 68 65 6e 0d | 72 65 74 75 72 6e 20 37 | 3 then.|return 7|
|00005d90| 0d 65 6c 73 65 20 69 66 | 20 6d 79 4c 65 76 65 6c |.else if| myLevel|
|00005da0| 20 3d 20 32 20 74 68 65 | 6e 0d 72 65 74 75 72 6e | = 2 the|n.return|
|00005db0| 20 34 0d 65 6c 73 65 20 | 69 66 20 6d 79 4c 65 76 | 4.else |if myLev|
|00005dc0| 65 6c 20 3d 20 31 20 74 | 68 65 6e 0d 72 65 74 75 |el = 1 t|hen.retu|
|00005dd0| 72 6e 20 31 0d 65 6c 73 | 65 0d 72 65 74 75 72 6e |rn 1.els|e.return|
|00005de0| 20 30 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 | 0.end i|f.end if|
|00005df0| 0d 65 6e 64 20 74 72 61 | 6e 73 6c 61 74 65 41 75 |.end tra|nslateAu|
|00005e00| 64 69 6f 4c 65 76 65 6c | 0d 0d 6f 6e 20 69 64 6c |dioLevel|..on idl|
|00005e10| 65 0d 67 6c 6f 62 61 6c | 20 69 64 6c 65 43 6f 6d |e.global| idleCom|
|00005e20| 6d 61 6e 64 2c 20 61 6e | 69 6d 49 63 6f 6e 46 6c |mand, an|imIconFl|
|00005e30| 61 67 0d 69 66 20 69 64 | 6c 65 43 6f 6d 6d 61 6e |ag.if id|leComman|
|00005e40| 64 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 20 74 |d is not| empty t|
|00005e50| 68 65 6e 0d 70 75 74 20 | 6c 69 6e 65 20 31 20 6f |hen.put |line 1 o|
|00005e60| 66 20 69 64 6c 65 43 6f | 6d 6d 61 6e 64 20 69 6e |f idleCo|mmand in|
|00005e70| 74 6f 20 74 65 6d 70 20 | 20 2d 2d 20 74 68 69 73 |to temp | -- this|
|00005e80| 20 77 61 79 20 61 6e 6f | 74 68 65 72 20 68 61 6e | way ano|ther han|
|00005e90| 64 6c 65 72 20 63 61 6e | 20 73 65 74 20 61 6e 20 |dler can| set an |
|00005ea0| 69 64 6c 65 0d 64 65 6c | 65 74 65 20 6c 69 6e 65 |idle.del|ete line|
|00005eb0| 20 31 20 6f 66 20 69 64 | 6c 65 43 6f 6d 6d 61 6e | 1 of id|leComman|
|00005ec0| 64 0d 73 65 6e 64 20 74 | 65 6d 70 20 74 6f 20 74 |d.send t|emp to t|
|00005ed0| 68 69 73 20 63 61 72 64 | 0d 65 6e 64 20 69 66 0d |his card|.end if.|
|00005ee0| 0d 2d 2d 20 63 68 65 63 | 6b 46 6f 72 49 63 6f 6e |.-- chec|kForIcon|
|00005ef0| 41 6e 69 6d 61 74 69 6f | 6e 0d 69 66 20 61 6e 69 |Animatio|n.if ani|
|00005f00| 6d 49 63 6f 6e 46 6c 61 | 67 20 69 73 20 65 6d 70 |mIconFla|g is emp|
|00005f10| 74 79 20 74 68 65 6e 20 | 65 78 69 74 20 69 64 6c |ty then |exit idl|
|00005f20| 65 20 2d 2d 20 74 68 65 | 72 65 20 69 73 20 61 6e |e -- the|re is an|
|00005f30| 20 69 63 6f 6e 20 74 6f | 20 61 6e 69 6d 61 74 65 | icon to| animate|
|00005f40| 0d 0d 67 6c 6f 62 61 6c | 20 61 6e 69 6d 49 63 6f |..global| animIco|
|00005f50| 6e 42 74 6e 2c 61 6e 69 | 6d 49 63 6f 6e 4c 65 76 |nBtn,ani|mIconLev|
|00005f60| 65 6c 2c 61 6e 69 6d 49 | 63 6f 6e 53 74 61 74 65 |el,animI|conState|
|00005f70| 73 2c 61 6e 69 6d 49 63 | 6f 6e 53 74 61 74 65 2c |s,animIc|onState,|
|00005f80| 61 6e 69 6d 49 63 6f 6e | 50 49 43 54 73 0d 67 6c |animIcon|PICTs.gl|
|00005f90| 6f 62 61 6c 20 61 6e 69 | 6d 49 63 6f 6e 44 75 72 |obal ani|mIconDur|
|00005fa0| 2c 61 6e 69 6d 49 63 6f | 6e 54 69 6d 65 73 2c 61 |,animIco|nTimes,a|
|00005fb0| 6e 69 6d 49 63 6f 6e 43 | 6f 75 6e 74 0d 67 65 74 |nimIconC|ount.get|
|00005fc0| 20 74 68 65 20 74 69 63 | 6b 73 0d 69 66 20 69 74 | the tic|ks.if it|
|00005fd0| 20 3e 20 61 6e 69 6d 49 | 63 6f 6e 46 6c 61 67 20 | > animI|conFlag |
|00005fe0| 2b 20 61 6e 69 6d 49 63 | 6f 6e 44 75 72 20 74 68 |+ animIc|onDur th|
|00005ff0| 65 6e 20 20 2d 2d 20 69 | 74 27 73 20 74 69 6d 65 |en -- i|t's time|
|00006000| 20 74 6f 20 64 6f 20 69 | 74 0d 70 75 74 20 69 74 | to do i|t.put it|
|00006010| 20 69 6e 74 6f 20 61 6e | 69 6d 49 63 6f 6e 46 6c | into an|imIconFl|
|00006020| 61 67 20 20 2d 2d 20 74 | 68 65 20 63 75 72 72 65 |ag -- t|he curre|
|00006030| 6e 74 20 74 69 6d 65 0d | 0d 69 66 20 61 6e 69 6d |nt time.|.if anim|
|00006040| 49 63 6f 6e 43 6f 75 6e | 74 20 69 73 20 30 20 74 |IconCoun|t is 0 t|
|00006050| 68 65 6e 0d 2d 2d 20 61 | 64 64 20 74 68 65 20 72 |hen.-- a|dd the r|
|00006060| 65 63 74 20 6f 66 20 74 | 68 65 20 62 75 74 74 6f |ect of t|he butto|
|00006070| 6e 20 74 6f 20 74 68 65 | 20 63 6c 69 70 20 72 65 |n to the| clip re|
|00006080| 67 69 6f 6e 0d 69 66 20 | 61 6e 69 6d 49 63 6f 6e |gion.if |animIcon|
|00006090| 4c 65 76 65 6c 20 3d 20 | 22 62 67 22 20 74 68 65 |Level = |"bg" the|
|000060a0| 6e 0d 70 75 74 20 74 68 | 65 20 72 65 63 74 20 6f |n.put th|e rect o|
|000060b0| 66 20 62 67 20 62 74 6e | 20 61 6e 69 6d 49 63 6f |f bg btn| animIco|
|000060c0| 6e 42 74 6e 20 69 6e 74 | 6f 20 78 43 6c 69 70 52 |nBtn int|o xClipR|
|000060d0| 65 63 74 0d 65 6c 73 65 | 0d 70 75 74 20 74 68 65 |ect.else|.put the|
|000060e0| 20 72 65 63 74 20 6f 66 | 20 63 64 20 62 74 6e 20 | rect of| cd btn |
|000060f0| 61 6e 69 6d 49 63 6f 6e | 42 74 6e 20 69 6e 74 6f |animIcon|Btn into|
|00006100| 20 78 43 6c 69 70 52 65 | 63 74 0d 65 6e 64 20 69 | xClipRe|ct.end i|
|00006110| 66 0d 65 6e 64 20 69 66 | 0d 0d 69 66 20 61 6e 69 |f.end if|..if ani|
|00006120| 6d 49 63 6f 6e 54 69 6d | 65 73 20 3e 20 30 20 74 |mIconTim|es > 0 t|
|00006130| 68 65 6e 20 61 64 64 20 | 31 20 74 6f 20 61 6e 69 |hen add |1 to ani|
|00006140| 6d 49 63 6f 6e 43 6f 75 | 6e 74 0d 69 66 20 61 6e |mIconCou|nt.if an|
|00006150| 69 6d 49 63 6f 6e 43 6f | 75 6e 74 20 b3 20 61 6e |imIconCo|unt . an|
|00006160| 69 6d 49 63 6f 6e 54 69 | 6d 65 73 20 61 6e 64 20 |imIconTi|mes and |
|00006170| 61 6e 69 6d 49 63 6f 6e | 54 69 6d 65 73 20 3e 20 |animIcon|Times > |
|00006180| 30 20 74 68 65 6e 0d 2d | 2d 20 74 68 61 74 27 73 |0 then.-|- that's|
|00006190| 20 65 6e 6f 75 67 68 20 | 74 69 6d 65 73 2e 20 63 | enough |times. c|
|000061a0| 6c 65 61 72 20 74 68 65 | 20 66 6c 61 67 20 73 6f |lear the| flag so|
|000061b0| 20 69 74 20 77 6f 6e 27 | 74 20 68 61 70 70 65 6e | it won'|t happen|
|000061c0| 20 61 6e 79 6d 6f 72 65 | 0d 70 75 74 20 65 6d 70 | anymore|.put emp|
|000061d0| 74 79 20 69 6e 74 6f 20 | 61 6e 69 6d 49 63 6f 6e |ty into |animIcon|
|000061e0| 46 6c 61 67 0d 2d 2d 20 | 65 78 63 6c 75 64 65 20 |Flag.-- |exclude |
|000061f0| 74 68 65 20 72 65 63 74 | 20 6f 66 20 74 68 65 20 |the rect| of the |
|00006200| 62 75 74 74 6f 6e 20 66 | 72 6f 6d 20 74 68 65 20 |button f|rom the |
|00006210| 63 6c 69 70 20 72 65 67 | 69 6f 6e 0d 69 66 20 61 |clip reg|ion.if a|
|00006220| 6e 69 6d 49 63 6f 6e 4c | 65 76 65 6c 20 3d 20 22 |nimIconL|evel = "|
|00006230| 62 67 22 20 74 68 65 6e | 0d 70 75 74 20 74 68 65 |bg" then|.put the|
|00006240| 20 72 65 63 74 20 6f 66 | 20 62 67 20 62 74 6e 20 | rect of| bg btn |
|00006250| 61 6e 69 6d 49 63 6f 6e | 42 74 6e 20 69 6e 74 6f |animIcon|Btn into|
|00006260| 20 78 43 6c 69 70 52 65 | 63 74 0d 65 6c 73 65 0d | xClipRe|ct.else.|
|00006270| 70 75 74 20 74 68 65 20 | 72 65 63 74 20 6f 66 20 |put the |rect of |
|00006280| 63 64 20 62 74 6e 20 61 | 6e 69 6d 49 63 6f 6e 42 |cd btn a|nimIconB|
|00006290| 74 6e 20 69 6e 74 6f 20 | 78 43 6c 69 70 52 65 63 |tn into |xClipRec|
|000062a0| 74 0d 65 6e 64 20 69 66 | 0d 65 78 69 74 20 69 64 |t.end if|.exit id|
|000062b0| 6c 65 0d 2d 2d 20 65 78 | 69 74 20 63 68 65 63 6b |le.-- ex|it check|
|000062c0| 46 6f 72 49 63 6f 6e 41 | 6e 69 6d 61 74 69 6f 6e |ForIconA|nimation|
|000062d0| 0d 65 6e 64 20 69 66 0d | 0d 2d 2d 20 67 65 74 20 |.end if.|.-- get |
|000062e0| 74 68 65 20 6e 65 78 74 | 20 73 74 61 74 65 20 66 |the next| state f|
|000062f0| 6f 72 20 74 68 65 20 69 | 63 6f 6e 20 74 6f 20 62 |or the i|con to b|
|00006300| 65 20 69 6e 0d 69 66 20 | 61 6e 69 6d 49 63 6f 6e |e in.if |animIcon|
|00006310| 53 74 61 74 65 20 3c 20 | 61 6e 69 6d 49 63 6f 6e |State < |animIcon|
|00006320| 53 74 61 74 65 73 20 74 | 68 65 6e 0d 61 64 64 20 |States t|hen.add |
|00006330| 31 20 74 6f 20 61 6e 69 | 6d 49 63 6f 6e 53 74 61 |1 to ani|mIconSta|
|00006340| 74 65 0d 65 6c 73 65 0d | 70 75 74 20 31 20 69 6e |te.else.|put 1 in|
|00006350| 74 6f 20 61 6e 69 6d 49 | 63 6f 6e 53 74 61 74 65 |to animI|conState|
|00006360| 0d 65 6e 64 20 69 66 0d | 0d 2d 2d 20 73 68 6f 77 |.end if.|.-- show|
|00006370| 20 74 68 65 20 69 63 6f | 6e 0d 70 75 74 20 69 74 | the ico|n.put it|
|00006380| 65 6d 20 61 6e 69 6d 49 | 63 6f 6e 53 74 61 74 65 |em animI|conState|
|00006390| 20 6f 66 20 61 6e 69 6d | 49 63 6f 6e 50 49 43 54 | of anim|IconPICT|
|000063a0| 73 20 69 6e 74 6f 20 63 | 75 72 49 63 6f 6e 0d 51 |s into c|urIcon.Q|
|000063b0| 54 50 69 63 74 20 22 64 | 69 73 70 6c 61 79 50 69 |TPict "d|isplayPi|
|000063c0| 63 74 22 2c 63 75 72 49 | 63 6f 6e 2c 78 43 6c 69 |ct",curI|con,xCli|
|000063d0| 70 52 65 63 74 2c 22 72 | 65 73 6f 75 72 63 65 22 |pRect,"r|esource"|
|000063e0| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 69 64 6c 65 |.end if.|end idle|
|000063f0| 0d 0d 6f 6e 20 73 65 74 | 41 6e 69 6d 49 63 6f 6e |..on set|AnimIcon|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.